Bug 20639: DBRev 18.12.00.023
authorNick Clemens <nick@bywatersolutions.com>
Thu, 7 Mar 2019 20:52:59 +0000 (20:52 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 7 Mar 2019 20:52:59 +0000 (20:52 +0000)
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Koha.pm
installer/data/mysql/atomicupdate/bug_20639-add_ILLOpacbackends_syspref.perl [deleted file]
installer/data/mysql/updatedatabase.pl

diff --git a/Koha.pm b/Koha.pm
index e26aab8..c346b3b 100644 (file)
--- a/Koha.pm
+++ b/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;
diff --git a/installer/data/mysql/atomicupdate/bug_20639-add_ILLOpacbackends_syspref.perl b/installer/data/mysql/atomicupdate/bug_20639-add_ILLOpacbackends_syspref.perl
deleted file mode 100644 (file)
index d74b368..0000000
+++ /dev/null
@@ -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";
-}
index 74439d6..f824fba 100755 (executable)
@@ -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.