From 13c1b6f123d7b9fd294704740903959b8e9e5154 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Sat, 27 Oct 2018 14:20:37 +0000 Subject: [PATCH] Bug 19263: DBRev 18.06.00.047 Signed-off-by: Nick Clemens --- Koha.pm | 2 +- installer/data/mysql/atomicupdate/bug_19263.perl | 10 ---------- installer/data/mysql/updatedatabase.pl | 8 ++++++++ 3 files changed, 9 insertions(+), 11 deletions(-) delete mode 100644 installer/data/mysql/atomicupdate/bug_19263.perl diff --git a/Koha.pm b/Koha.pm index b582f2beb1..7badefed13 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.046"; +$VERSION = "18.06.00.047"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_19263.perl b/installer/data/mysql/atomicupdate/bug_19263.perl deleted file mode 100644 index 556e6653de..0000000000 --- a/installer/data/mysql/atomicupdate/bug_19263.perl +++ /dev/null @@ -1,10 +0,0 @@ -$DBversion = 'XXX'; # will be replaced by the RM -if( CheckVersion( $DBversion ) ) { - # insert the authorized_value_category for CONTROL_NUM_SEQUENCE - $dbh->do( "INSERT IGNORE INTO authorised_value_categories values ('CONTROL_NUM_SEQUENCE');" ); - - - # Always end with this (adjust the bug info) - SetVersion( $DBversion ); - print "Upgrade to $DBversion done (Bug 19263 - Advanced Editor - Rancor - Add auto control number (001) widget)\n"; -} diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index f7af2a1875..cc738c617b 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -16741,6 +16741,14 @@ if( CheckVersion( $DBversion ) ) { print "Upgrade to $DBversion done (Bug 18591 - Add comments to ILL requests)\n"; } +$DBversion = '18.06.00.047'; +if( CheckVersion( $DBversion ) ) { + # insert the authorized_value_category for CONTROL_NUM_SEQUENCE + $dbh->do( "INSERT IGNORE INTO authorised_value_categories values ('CONTROL_NUM_SEQUENCE');" ); + SetVersion( $DBversion ); + print "Upgrade to $DBversion done (Bug 19263 - Advanced Editor - Rancor - Add auto control number (001) widget)\n"; +} + # SEE bug 13068 # if there is anything in the atomicupdate, read and execute it. -- 2.20.1