From e3d8fb0b845f50f6debc9a246a09a22f3f88c406 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 28 Apr 2017 08:53:00 -0400 Subject: [PATCH] Bug 18110 - DBRev 16.12.00.028 Signed-off-by: Kyle M Hall --- Koha.pm | 2 +- .../atomicupdate/bug18110_updated_AddressFormat.sql | 1 - installer/data/mysql/updatedatabase.pl | 10 ++++++++++ 3 files changed, 11 insertions(+), 2 deletions(-) delete mode 100644 installer/data/mysql/atomicupdate/bug18110_updated_AddressFormat.sql diff --git a/Koha.pm b/Koha.pm index 5078edcfcf..07489a92e9 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 = "16.12.00.027"; +$VERSION = "16.12.00.028"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug18110_updated_AddressFormat.sql b/installer/data/mysql/atomicupdate/bug18110_updated_AddressFormat.sql deleted file mode 100644 index 5cd738c713..0000000000 --- a/installer/data/mysql/atomicupdate/bug18110_updated_AddressFormat.sql +++ /dev/null @@ -1 +0,0 @@ -UPDATE systempreferences SET options = 'us|de|fr' WHERE variable = 'AddressFormat'; diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 3c2ccc1c1f..a7c3747565 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -14281,6 +14281,16 @@ if( CheckVersion( $DBversion ) ) { print "Upgrade to $DBversion done (Bug 12461 - Add patron clubs feature)\n"; } +$DBversion = '16.12.00.028'; +if( CheckVersion( $DBversion ) ) { + $dbh->do(q{ + UPDATE systempreferences SET options = 'us|de|fr' WHERE variable = 'AddressFormat'; + }); + + SetVersion( $DBversion ); + print "Upgrade to $DBversion done (Bug 18110 - Adds FR to the syspref AddressFormat)\n"; +} + # DEVELOPER PROCESS, search for anything to execute in the db_update directory # SEE bug 13068 # if there is anything in the atomicupdate, read and execute it. -- 2.39.5