diff --git a/Koha.pm b/Koha.pm index ecc93e6cfc..e689a851fe 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 = "21.12.00.005"; +$VERSION = "21.12.00.006"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_29557.pl b/installer/data/mysql/db_revs/211200006.pl similarity index 86% rename from installer/data/mysql/atomicupdate/bug_29557.pl rename to installer/data/mysql/db_revs/211200006.pl index e43b120737..33ab91796b 100755 --- a/installer/data/mysql/atomicupdate/bug_29557.pl +++ b/installer/data/mysql/db_revs/211200006.pl @@ -2,7 +2,7 @@ use Modern::Perl; return { bug_number => "29557", - description => "Add auto_account_expired to AUTO_RENEWALS notice. Please update your AUTO_RENEWALS notice manually if you have changed or translated it.", + description => "Add auto_account_expired to AUTO_RENEWALS notice", up => sub { my ($args) = @_; my ($dbh, $out) = @$args{qw(dbh out)}; @@ -11,5 +11,6 @@ return { SET content=REPLACE(content, "[% ELSIF checkout.auto_renew_error == 'too_unseen' %]\r\nThis item must be renewed at the library.\r\n[% END %]", "[% ELSIF checkout.auto_renew_error == 'too_unseen' %]\r\nThis item must be renewed at the library.\r\n[% ELSIF checkout.auto_renew_error == 'auto_account_expired' %]\r\nYour account has expired.\r\n[% END %]") WHERE code="AUTO_RENEWALS" }); + say $out "Please update your AUTO_RENEWALS notice manually if you have changed or translated it" }, }