From d9cefbdd19c35ae83d0ffa59ca99aaf4bc775cac Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 18 Apr 2019 10:00:48 +0000 Subject: [PATCH] Bug 8701: DBRev 18.12.00.056 Signed-off-by: Nick Clemens --- Koha.pm | 2 +- .../data/mysql/atomicupdate/bug_8701_opachiddenitems.perl | 6 ------ installer/data/mysql/updatedatabase.pl | 7 +++++++ 3 files changed, 8 insertions(+), 7 deletions(-) delete mode 100644 installer/data/mysql/atomicupdate/bug_8701_opachiddenitems.perl diff --git a/Koha.pm b/Koha.pm index 320625972c..10e0379be1 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.055"; +$VERSION = "18.12.00.056"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_8701_opachiddenitems.perl b/installer/data/mysql/atomicupdate/bug_8701_opachiddenitems.perl deleted file mode 100644 index f6a60ac4c7..0000000000 --- a/installer/data/mysql/atomicupdate/bug_8701_opachiddenitems.perl +++ /dev/null @@ -1,6 +0,0 @@ -$DBversion = 'XXX'; # will be replaced by the RM -if( CheckVersion( $DBversion ) ) { - $dbh->do( "UPDATE systempreferences SET explanation = 'This syspref allows to define custom rules for hiding specific items at the OPAC. See http://wiki.koha-community.org/wiki/OpacHiddenItems for more information.' WHERE variable = 'OpacHiddenItems'"); - SetVersion( $DBversion ); - print "Upgrade to $DBversion done (Bug 8701 - Update OpacHiddenItems system preference description)\n"; -} diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 6a30650907..fbda23fe20 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -18186,6 +18186,13 @@ if ( CheckVersion($DBversion) ) { print "Upgrade to $DBversion done (Bug 22521 - Update accountlines.accounttype to varchar(16), and map new statuses)\n"; } +$DBversion = '18.12.00.056'; +if( CheckVersion( $DBversion ) ) { + $dbh->do( "UPDATE systempreferences SET explanation = 'This syspref allows to define custom rules for hiding specific items at the OPAC. See http://wiki.koha-community.org/wiki/OpacHiddenItems for more information.' WHERE variable = 'OpacHiddenItems'"); + SetVersion( $DBversion ); + print "Upgrade to $DBversion done (Bug 8701 - Update OpacHiddenItems system preference description)\n"; +} + # SEE bug 13068 # if there is anything in the atomicupdate, read and execute it. -- 2.39.5