From dc60c344768540c5e02c8e46e8ae43f7921d252a Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 12 Sep 2017 12:04:50 -0300 Subject: [PATCH] Bug 18811: DBRev 17.05.00.006 Signed-off-by: Jonathan Druart --- Koha.pm | 2 +- installer/data/mysql/atomicupdate/bug_18811.perl | 9 --------- installer/data/mysql/updatedatabase.pl | 9 +++++++++ 3 files changed, 10 insertions(+), 10 deletions(-) delete mode 100644 installer/data/mysql/atomicupdate/bug_18811.perl diff --git a/Koha.pm b/Koha.pm index cb8b004159..fc07b125db 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 = "17.06.00.005"; +$VERSION = "17.06.00.006"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_18811.perl b/installer/data/mysql/atomicupdate/bug_18811.perl deleted file mode 100644 index 09dedfa28c..0000000000 --- a/installer/data/mysql/atomicupdate/bug_18811.perl +++ /dev/null @@ -1,9 +0,0 @@ -$DBversion = 'XXX'; # will be replaced by the RM -if( CheckVersion( $DBversion ) ) { - - print q{WARNING: Bug 18811 fixed an inconsistency in the visibility settings for authority frameworks. It is recommended that you run script misc/maintenance/auth_show_hidden_data.pl to check if you have data in hidden fields and adjust your frameworks accordingly to prevent data loss when editing such records.}; - print "\n"; - - SetVersion( $DBversion ); - print "Upgrade to $DBversion done (Bug 18811 - Visibility settings inconsistent between framework and authority editor)\n"; -} diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 134280678e..698eb325bf 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -14618,6 +14618,15 @@ if( CheckVersion( $DBversion ) ) { print "Upgrade to $DBversion done (Bug 18718 - Language selector in staff header menu similar to OPAC )\n"; } +$DBversion = '17.06.00.006'; +if( CheckVersion( $DBversion ) ) { + print q{WARNING: Bug 18811 fixed an inconsistency in the visibility settings for authority frameworks. It is recommended that you run script misc/maintenance/auth_show_hidden_data.pl to check if you have data in hidden fields and adjust your frameworks accordingly to prevent data loss when editing such records.}; + print "\n"; + + SetVersion( $DBversion ); + print "Upgrade to $DBversion done (Bug 18811 - Visibility settings inconsistent between framework and authority editor)\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