From d777714a573c027dbb4d03f65ae065348ae2448c Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 15 Mar 2019 19:21:25 +0000 Subject: [PATCH] Bug 20750: DBRev 18.12.00.026 Signed-off-by: Nick Clemens --- Koha.pm | 2 +- .../atomicupdate/bug_20750-add_illlog_preference.perl | 7 ------- installer/data/mysql/updatedatabase.pl | 8 ++++++++ 3 files changed, 9 insertions(+), 8 deletions(-) delete mode 100644 installer/data/mysql/atomicupdate/bug_20750-add_illlog_preference.perl diff --git a/Koha.pm b/Koha.pm index e8a639b0f9..8a7d963497 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.12.00.025"; +$VERSION = "18.12.00.026"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_20750-add_illlog_preference.perl b/installer/data/mysql/atomicupdate/bug_20750-add_illlog_preference.perl deleted file mode 100644 index 75838f9be2..0000000000 --- a/installer/data/mysql/atomicupdate/bug_20750-add_illlog_preference.perl +++ /dev/null @@ -1,7 +0,0 @@ -$DBversion = 'XXX'; # will be replaced by the RM -if( CheckVersion( $DBversion ) ) { - $dbh->do( "INSERT IGNORE INTO systempreferences (variable, value, explanation, type) VALUES ('IllLog', 0, 'If ON, log information about ILL requests', 'YesNo')" ); - - SetVersion( $DBversion ); - print "Upgrade to $DBversion done (Bug 20750 - Allow timestamped auditing of ILL request events)\n"; -} diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index f5415fc793..c46f05f462 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -17719,6 +17719,14 @@ if( CheckVersion( $DBversion ) ) { print "WARNING: (Bug 21846) You need to manually run $maintenance_script to fix possible issues with tags.\n"; } +$DBversion = '18.12.00.026'; +if( CheckVersion( $DBversion ) ) { + $dbh->do( "INSERT IGNORE INTO systempreferences (variable, value, explanation, type) VALUES ('IllLog', 0, 'If ON, log information about ILL requests', 'YesNo')" ); + + SetVersion( $DBversion ); + print "Upgrade to $DBversion done (Bug 20750 - Allow timestamped auditing of ILL request events)\n"; +} + # SEE bug 13068 # if there is anything in the atomicupdate, read and execute it. -- 2.20.1