From 9a9e9fb95e52390451d774835e60903a89647a4d Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 2 Mar 2020 11:15:04 +0000 Subject: [PATCH] Bug 24735: DBRev 19.12.00.032 Signed-off-by: Martin Renvoize --- Koha.pm | 2 +- installer/data/mysql/atomicupdate/bug_xxxxx.perl | 9 --------- installer/data/mysql/updatedatabase.pl | 10 ++++++++++ 3 files changed, 11 insertions(+), 10 deletions(-) delete mode 100644 installer/data/mysql/atomicupdate/bug_xxxxx.perl diff --git a/Koha.pm b/Koha.pm index 1867388df2..ea087229f5 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.031"; +$VERSION = "19.12.00.032"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_xxxxx.perl b/installer/data/mysql/atomicupdate/bug_xxxxx.perl deleted file mode 100644 index 8048704dfb..0000000000 --- a/installer/data/mysql/atomicupdate/bug_xxxxx.perl +++ /dev/null @@ -1,9 +0,0 @@ -$DBversion = 'XXX'; # will be replaced by the RM -if( CheckVersion( $DBversion ) ) { - $dbh->do( q| - DELETE FROM systempreferences WHERE variable="UseQueryParser" - |); - - SetVersion( $DBversion ); - print "Upgrade to $DBversion done (Bug XXXXX - Remove UseQueryParser system preference)\n"; -} diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 42bb7ca2c4..df895366e2 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -20965,6 +20965,16 @@ ALTER TABLE article_requests MODIFY COLUMN created_on timestamp NULL, MODIFY COL print "Upgrade to $DBversion done (Bug 22273: Column article_requests.created_on should not be updated)\n"; } +$DBversion = '19.12.00.032'; +if( CheckVersion( $DBversion ) ) { + $dbh->do( q| + DELETE FROM systempreferences WHERE variable="UseQueryParser" + |); + + SetVersion( $DBversion ); + print "Upgrade to $DBversion done (Bug 24735 - Remove UseQueryParser system preference)\n"; +} + # 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/'; -- 2.39.2