From c66a2894e1857b403a52d8392d46c343be7d0ed8 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 7 Sep 2018 15:53:24 +0000 Subject: [PATCH] Bug 21235: DBRev 18.06.00.027 Signed-off-by: Nick Clemens --- Koha.pm | 2 +- installer/data/mysql/atomicupdate/bug_21235.perl | 8 -------- installer/data/mysql/updatedatabase.pl | 7 +++++++ 3 files changed, 8 insertions(+), 9 deletions(-) delete mode 100644 installer/data/mysql/atomicupdate/bug_21235.perl diff --git a/Koha.pm b/Koha.pm index 66a57c66e9..f9b3e467f4 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 = "18.06.00.026"; +$VERSION = "18.06.00.027"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_21235.perl b/installer/data/mysql/atomicupdate/bug_21235.perl deleted file mode 100644 index e7858cd647..0000000000 --- a/installer/data/mysql/atomicupdate/bug_21235.perl +++ /dev/null @@ -1,8 +0,0 @@ -$DBversion = 'XXX'; # will be replaced by the RM -if( CheckVersion( $DBversion ) ) { - $dbh->do( "DROP TABLE IF EXISTS services_throttle" ); - - # Always end with this (adjust the bug info) - SetVersion( $DBversion ); - print "Upgrade to $DBversion done (Bug 21235: Remove table services_throttle)\n"; -} diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index f308763a37..0d06779f38 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -16378,6 +16378,13 @@ INSERT IGNORE INTO systempreferences (variable, value, options, explanation, ty print "Upgrade to $DBversion done (Bug 17530 - Add pref ArticleRequestsLinkControl)\n"; } +$DBversion = '18.06.00.027'; +if( CheckVersion( $DBversion ) ) { + $dbh->do( "DROP TABLE IF EXISTS services_throttle" ); + SetVersion( $DBversion ); + print "Upgrade to $DBversion done (Bug 21235: Remove table services_throttle)\n"; +} + # SEE bug 13068 # if there is anything in the atomicupdate, read and execute it. -- 2.39.5