From b3806e24e0b3b4b3af7685c659321e9375bfdf47 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 26 Mar 2020 11:57:26 +0000 Subject: [PATCH] Bug 20399: DBRev 19.12.00.057 Signed-off-by: Martin Renvoize --- Koha.pm | 2 +- installer/data/mysql/atomicupdate/bug_20399.sql | 1 - installer/data/mysql/updatedatabase.pl | 7 +++++++ 3 files changed, 8 insertions(+), 2 deletions(-) delete mode 100644 installer/data/mysql/atomicupdate/bug_20399.sql diff --git a/Koha.pm b/Koha.pm index 6da12a6d29..52e54bc423 100644 --- 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 index 372403f10d..0000000000 --- a/installer/data/mysql/atomicupdate/bug_20399.sql +++ /dev/null @@ -1 +0,0 @@ -DELETE FROM systempreferences WHERE variable='INTRAdidyoumean'; \ No newline at end of file diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 3c62761737..3ab787abb4 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -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. -- 2.39.5