From 6d50787b57b8f34693e64b576be2f4491f2c4e52 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 8 Oct 2019 14:52:33 +0100 Subject: [PATCH] Bug 23697: DBRev 19.06.00.038 Signed-off-by: Martin Renvoize --- Koha.pm | 2 +- installer/data/mysql/atomicupdate/bug_23697.perl | 6 ------ installer/data/mysql/updatedatabase.pl | 7 +++++++ 3 files changed, 8 insertions(+), 7 deletions(-) delete mode 100644 installer/data/mysql/atomicupdate/bug_23697.perl diff --git a/Koha.pm b/Koha.pm index 3c164d5778..4cb61ae833 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 = "19.06.00.037"; +$VERSION = "19.06.00.038"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_23697.perl b/installer/data/mysql/atomicupdate/bug_23697.perl deleted file mode 100644 index 394bb880ce..0000000000 --- a/installer/data/mysql/atomicupdate/bug_23697.perl +++ /dev/null @@ -1,6 +0,0 @@ -$DBversion = 'XXX'; # will be replaced by the RM -if( CheckVersion( $DBversion ) ) { - $dbh->do( "UPDATE systempreferences SET variable='PatronAutoComplete' WHERE variable='CircAutocompl' LIMIT 1" ); - SetVersion( $DBversion ); - print "Upgrade to $DBversion done (Bug 23697 - Rename CircAutocompl system preference to PatronAutoComplete)\n"; -} diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 16d8baa207..d24612f1b4 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -19642,6 +19642,13 @@ if( CheckVersion( $DBversion ) ) { print "Upgrade to $DBversion done (Bug 21701 - PayPal return URL option)\n"; } +$DBversion = '19.06.00.038'; +if( CheckVersion( $DBversion ) ) { + $dbh->do( "UPDATE systempreferences SET variable='PatronAutoComplete' WHERE variable='CircAutocompl' LIMIT 1" ); + SetVersion( $DBversion ); + print "Upgrade to $DBversion done (Bug 23697 - Rename CircAutocompl system preference to PatronAutoComplete)\n"; +} + # SEE bug 13068 # if there is anything in the atomicupdate, read and execute it. my $update_dir = C4::Context->config('intranetdir') . '/installer/data/mysql/atomicupdate/'; -- 2.11.4.GIT