Browse Source

Bug 20639: DBRev 18.12.00.023

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
19.05.x
Nick Clemens 5 years ago
parent
commit
1f2685f7d4
  1. 2
      Koha.pm
  2. 11
      installer/data/mysql/atomicupdate/bug_20639-add_ILLOpacbackends_syspref.perl
  3. 12
      installer/data/mysql/updatedatabase.pl

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 = "18.12.00.022";
$VERSION = "18.12.00.023";
sub version {
return $VERSION;

11
installer/data/mysql/atomicupdate/bug_20639-add_ILLOpacbackends_syspref.perl

@ -1,11 +0,0 @@
$DBversion = 'XXX'; # will be replaced by the RM
if( CheckVersion( $DBversion ) ) {
$dbh->do(q|
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type)
VALUES ('ILLOpacbackends',NULL,NULL,'ILL backends to enabled for OPAC initiated requests','multiple');
|);
# Always end with this (adjust the bug info)
SetVersion( $DBversion );
print "Upgrade to $DBversion done (Bug 20639 - Add ILLOpacbackends syspref)\n";
}

12
installer/data/mysql/updatedatabase.pl

@ -17597,6 +17597,18 @@ if( CheckVersion( $DBversion ) ) {
print "Upgrade to $DBversion done (Bug 15774 - Add permission for managing additional fields)\n";
}
$DBversion = '18.12.00.023';
if( CheckVersion( $DBversion ) ) {
$dbh->do(q|
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type)
VALUES ('ILLOpacbackends',NULL,NULL,'ILL backends to enabled for OPAC initiated requests','multiple');
|);
# Always end with this (adjust the bug info)
SetVersion( $DBversion );
print "Upgrade to $DBversion done (Bug 20639 - Add ILLOpacbackends syspref)\n";
}
# SEE bug 13068
# if there is anything in the atomicupdate, read and execute it.

Loading…
Cancel
Save