[Koha-bugs] [Bug 7167] updatedatabase improvements

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 1 11:43:16 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7167

--- Comment #141 from Paul Poulain <paul.poulain at biblibre.com> ---
Created attachment 11246
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=11246&action=edit
Bug 7167 reindentation & removing dead code

* The if (! defined $ENV{PERL5LIB}... block was wrongly intented
* The 3 lines running update.pl are useless: the update (new mechanism) is run
from admin/updatedatabase.pl script. This part of install.pl is run only when
you have "old style" DB revisions.

Summary:
 * old mechanism = it's run as previously, by reaching the
installer/install.pl?step=3 page, that applies all revisions
 * new mechanism = when you log-in or reach mainpage.pl, you reach
admin/updatedatabase.pl, where you can see what will be run, and run it

Tiny side effect = the check for old mechanism is now done *after*
authentification (thus it's not done on each page call). It means that the user
will have to enter login/password twice :
 * first to log-in to Koha
 * second to run installer/updatedatabase.pl?step=3
As the old mechanism is deprecated, we can expect this will happend only a few
time in the history of a setup, it's not a big deal.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list