Bug 25871: DBRev 20.06.00.021
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 6 Aug 2020 09:36:33 +0000 (11:36 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 6 Aug 2020 09:37:06 +0000 (11:37 +0200)
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Koha.pm
installer/data/mysql/atomicupdate/bug_25871_Update_OpacItemLocation_preference.perl [deleted file]
installer/data/mysql/updatedatabase.pl

diff --git a/Koha.pm b/Koha.pm
index 719bed6..e0cc507 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 = "20.06.00.020";
+$VERSION = "20.06.00.021";
 
 sub version {
     return $VERSION;
diff --git a/installer/data/mysql/atomicupdate/bug_25871_Update_OpacItemLocation_preference.perl b/installer/data/mysql/atomicupdate/bug_25871_Update_OpacItemLocation_preference.perl
deleted file mode 100644 (file)
index fce4245..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-$DBversion = 'XXX';
-if( CheckVersion( $DBversion ) ) {
-    $dbh->do(q{
-        UPDATE systempreferences SET options = "callnum|ccode|location|library"
-        WHERE variable = "OpacItemLocation"
-    });
-    NewVersion( $DBversion, 25871, "Add library option to OpacItemLocation");
-}
index 76a4ffa..99371e4 100755 (executable)
@@ -22543,6 +22543,15 @@ if( CheckVersion( $DBversion ) ) {
     NewVersion( $DBversion, 26070, "Remove references to deprecated Google Transliterate API");
 }
 
+$DBversion = '20.06.00.021';
+if( CheckVersion( $DBversion ) ) {
+    $dbh->do(q{
+        UPDATE systempreferences SET options = "callnum|ccode|location|library"
+        WHERE variable = "OpacItemLocation"
+    });
+    NewVersion( $DBversion, 25871, "Add library option to OpacItemLocation");
+}
+
 # SEE bug 13068
 # if there is anything in the atomicupdate, read and execute it.
 my $update_dir = C4::Context->config('intranetdir') . '/installer/data/mysql/atomicupdate/';