Bug 12160: DBRev 3.21.00.002
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
parent
7b0792584e
commit
73d9706667
2
Koha.pm
2
Koha.pm
|
|
@ -29,7 +29,7 @@ use vars qw{ $VERSION };
|
|||
# - #4 : the developer version. The 4th number is the database subversion.
|
||||
# used by developers when the database changes. updatedatabase take care of the changes itself
|
||||
# and is automatically called by Auth.pm when needed.
|
||||
$VERSION = "3.21.00.000";
|
||||
$VERSION = "3.21.00.002";
|
||||
|
||||
sub version {
|
||||
return $VERSION;
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
UPDATE systempreferences SET variable="IntranetUserJS" where variable="intranetuserjs"
|
||||
|
|
@ -1 +0,0 @@
|
|||
UPDATE systempreferences SET variable="OPACUserJS" where variable="opacuserjs"
|
||||
|
|
@ -10468,6 +10468,24 @@ if ( CheckVersion($DBversion) ) {
|
|||
SetVersion ($DBversion);
|
||||
}
|
||||
|
||||
$DBversion = "3.21.00.001";
|
||||
if ( CheckVersion($DBversion) ) {
|
||||
$dbh->do(q|
|
||||
UPDATE systempreferences SET variable='IntranetUserJS' where variable='intranetuserjs'
|
||||
|);
|
||||
print "Upgrade to $DBversion done (Bug 12160: Rename intranetuserjs to IntranetUserJS)\n";
|
||||
SetVersion ($DBversion);
|
||||
}
|
||||
|
||||
$DBversion = "3.21.00.002";
|
||||
if ( CheckVersion($DBversion) ) {
|
||||
$dbh->do(q|
|
||||
UPDATE systempreferences SET variable='OPACUserJS' where variable='opacuserjs'
|
||||
|);
|
||||
print "Upgrade to $DBversion done (Bug 12160: Rename opacuserjs to OPACUserJS)\n";
|
||||
SetVersion ($DBversion);
|
||||
}
|
||||
|
||||
# DEVELOPER PROCESS, search for anything to execute in the db_update directory
|
||||
# SEE bug 13068
|
||||
# if there is anything in the atomicupdate, read and execute it.
|
||||
|
|
|
|||
Loading…
Reference in New Issue