From 9cf06c7eb506096f52705bc8aff26146c95930e2 Mon Sep 17 00:00:00 2001 From: Brendan Gallagher Date: Thu, 31 Dec 2015 18:38:40 +0000 Subject: [PATCH] Bumping the DBrev up Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com --- Koha.pm | 2 +- installer/data/mysql/atomicupdate/bug_13022.sql | 1 - installer/data/mysql/updatedatabase.pl | 9 +++++++++ 3 files changed, 10 insertions(+), 2 deletions(-) delete mode 100644 installer/data/mysql/atomicupdate/bug_13022.sql diff --git a/Koha.pm b/Koha.pm index 482ef0eff5..0904cdb822 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 = "3.23.00.011"; +$VERSION = "3.23.00.012"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_13022.sql b/installer/data/mysql/atomicupdate/bug_13022.sql deleted file mode 100644 index 88d5a131a9..0000000000 --- a/installer/data/mysql/atomicupdate/bug_13022.sql +++ /dev/null @@ -1 +0,0 @@ -INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES('MaxSearchResultsItemsPerRecordStatusCheck','20','Max number of items per record for which to check transit and hold status','','Integer'); diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 4da6379e49..eceeef9666 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -11614,6 +11614,15 @@ if ( CheckVersion($DBversion) ) { SetVersion($DBversion); } +$DBversion = "3.23.00.012"; +if ( CheckVersion($DBversion) ) { + $dbh->do(q{ + INSERT IGNORE INTO systempreferences ( `variable`, `value`, `explanation`, `options`, `type` ) VALUES('MaxSearchResultsItemsPerRecordStatusCheck','20','Max number of items per record for which to check transit and hold status','','Integer') + }); + + print "Upgrade to $DBversion done (Bug 15380 - Move the authority types related code to Koha::Authority::Type[s] - part 1)\n"; + SetVersion($DBversion); +} # DEVELOPER PROCESS, search for anything to execute in the db_update directory # SEE bug 13068 -- 2.39.5