From: Jonathan Druart Date: Thu, 6 Aug 2020 09:36:33 +0000 (+0200) Subject: Bug 25871: DBRev 20.06.00.021 X-Git-Url: http://git.equinoxoli.org/?p=koha-equinox.git;a=commitdiff_plain;h=6a55ca6a82a662966e47921e13029a91152fbefd Bug 25871: DBRev 20.06.00.021 Signed-off-by: Jonathan Druart --- diff --git a/Koha.pm b/Koha.pm index 719bed6..e0cc507 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 = "20.06.00.020"; +$VERSION = "20.06.00.021"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_25871_Update_OpacItemLocation_preference.perl b/installer/data/mysql/atomicupdate/bug_25871_Update_OpacItemLocation_preference.perl deleted file mode 100644 index fce4245..0000000 --- a/installer/data/mysql/atomicupdate/bug_25871_Update_OpacItemLocation_preference.perl +++ /dev/null @@ -1,8 +0,0 @@ -$DBversion = 'XXX'; -if( CheckVersion( $DBversion ) ) { - $dbh->do(q{ - UPDATE systempreferences SET options = "callnum|ccode|location|library" - WHERE variable = "OpacItemLocation" - }); - NewVersion( $DBversion, 25871, "Add library option to OpacItemLocation"); -} diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 76a4ffa..99371e4 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -22543,6 +22543,15 @@ if( CheckVersion( $DBversion ) ) { NewVersion( $DBversion, 26070, "Remove references to deprecated Google Transliterate API"); } +$DBversion = '20.06.00.021'; +if( CheckVersion( $DBversion ) ) { + $dbh->do(q{ + UPDATE systempreferences SET options = "callnum|ccode|location|library" + WHERE variable = "OpacItemLocation" + }); + NewVersion( $DBversion, 25871, "Add library option to OpacItemLocation"); +} + # 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/';