From 994245e09b6a19df14a4319ed231cc2c5bf087ed Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 12 Apr 2019 01:43:44 +0000 Subject: [PATCH] Bug 21891: DBRev 18.12.00.042 Signed-off-by: Nick Clemens --- Koha.pm | 2 +- .../atomicupdate/bug_21891-remove-non-xslt-detail.perl | 6 ------ installer/data/mysql/updatedatabase.pl | 7 +++++++ 3 files changed, 8 insertions(+), 7 deletions(-) delete mode 100644 installer/data/mysql/atomicupdate/bug_21891-remove-non-xslt-detail.perl diff --git a/Koha.pm b/Koha.pm index 45423f296c..6795d70cbf 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.041"; +$VERSION = "18.12.00.042"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_21891-remove-non-xslt-detail.perl b/installer/data/mysql/atomicupdate/bug_21891-remove-non-xslt-detail.perl deleted file mode 100644 index 80d66ec57f..0000000000 --- a/installer/data/mysql/atomicupdate/bug_21891-remove-non-xslt-detail.perl +++ /dev/null @@ -1,6 +0,0 @@ -$DBversion = 'XXX'; # will be replaced by the RM -if( CheckVersion( $DBversion ) ) { - $dbh->do( "UPDATE systempreferences SET value = 'default' WHERE variable = 'XSLTDetailsDisplay' AND value = ''" ); - SetVersion( $DBversion ); - print "Upgrade to $DBversion done (Bug 29891 - Remove non-XSLT detail view in the staff client)\n"; -} diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 8fcba833ca..22defad0d9 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -17961,6 +17961,13 @@ if( CheckVersion( $DBversion ) ) { print "Upgrade to $DBversion done (Bug 19670 - Change collation of marc_field to allow mixed case search field mappings)\n"; } +$DBversion = '18.12.00.042'; +if( CheckVersion( $DBversion ) ) { + $dbh->do( "UPDATE systempreferences SET value = 'default' WHERE variable = 'XSLTDetailsDisplay' AND value = ''" ); + SetVersion( $DBversion ); + print "Upgrade to $DBversion done (Bug 29891 - Remove non-XSLT detail view in the staff client)\n"; +} + # SEE bug 13068 # if there is anything in the atomicupdate, read and execute it. -- 2.20.1