From 5eaa1cb2ab37cdae3da638aad20e594884272380 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Mon, 12 Sep 2016 09:08:27 +0000 Subject: [PATCH] Bug 16311 - DBRev 16.06.00.024 Signed-off-by: Kyle M Hall --- Koha.pm | 2 +- ...ix_typo_in_OPAC_adv_search_language_drop_down.sql | 1 - installer/data/mysql/updatedatabase.pl | 12 +++++++++++- 3 files changed, 12 insertions(+), 3 deletions(-) delete mode 100644 installer/data/mysql/atomicupdate/bug_16311-fix_typo_in_OPAC_adv_search_language_drop_down.sql diff --git a/Koha.pm b/Koha.pm index 1f5e7a9f7c..78260925aa 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.06.00.023"; +$VERSION = "16.06.00.024"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_16311-fix_typo_in_OPAC_adv_search_language_drop_down.sql b/installer/data/mysql/atomicupdate/bug_16311-fix_typo_in_OPAC_adv_search_language_drop_down.sql deleted file mode 100644 index fd3ae01b51..0000000000 --- a/installer/data/mysql/atomicupdate/bug_16311-fix_typo_in_OPAC_adv_search_language_drop_down.sql +++ /dev/null @@ -1 +0,0 @@ -UPDATE language_descriptions SET description = 'Română' WHERE subtag = 'ro' AND type = 'language' AND lang = 'ro'; diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index deab87a390..eea93b894b 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -12944,7 +12944,17 @@ if ( CheckVersion($DBversion) ) { |); print "Upgrade to $DBversion done (Bug 17187)\nNote: Pref value for timeout has not been adjusted.\n"; } - SetVersion($DBversion); #FIXME + SetVersion($DBversion); +} + +$DBversion = "16.06.00.024"; +if ( CheckVersion($DBversion) ) { + $dbh->do(q{ + UPDATE language_descriptions SET description = 'Română' WHERE subtag = 'ro' AND type = 'language' AND lang = 'ro'; + }); + + print "Upgrade to $DBversion done (Bug 17187)\nNote: Pref value for timeout has not been adjusted.\n"; + SetVersion($DBversion); } # DEVELOPER PROCESS, search for anything to execute in the db_update directory -- 2.39.5