Bug 20399: DBRev 19.12.00.057
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 26 Mar 2020 11:57:26 +0000 (11:57 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 26 Mar 2020 12:03:37 +0000 (12:03 +0000)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Koha.pm
installer/data/mysql/atomicupdate/bug_20399.sql [deleted file]
installer/data/mysql/updatedatabase.pl

diff --git a/Koha.pm b/Koha.pm
index 6da12a6..52e54bc 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 = "19.12.00.056";
+$VERSION = "19.12.00.057";
 
 sub version {
     return $VERSION;
diff --git a/installer/data/mysql/atomicupdate/bug_20399.sql b/installer/data/mysql/atomicupdate/bug_20399.sql
deleted file mode 100644 (file)
index 372403f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-DELETE FROM systempreferences WHERE variable='INTRAdidyoumean';
\ No newline at end of file
index 3c62761..3ab787a 100755 (executable)
@@ -21344,6 +21344,13 @@ if( CheckVersion( $DBversion ) ) {
     NewVersion( $DBversion, 20415, "Remove UseKohaPlugins preference");
 }
 
+$DBversion = '19.12.00.057';
+if( CheckVersion( $DBversion ) ) {
+
+    $dbh->do( "DELETE FROM systempreferences WHERE variable='INTRAdidyoumean'" );
+
+    NewVersion( $DBversion, 20415, "Remove INTRAdidyoumean preference");
+}
 
 # SEE bug 13068
 # if there is anything in the atomicupdate, read and execute it.