From 42491ed1c38de87fdd5ffe2c0015e06132ddc783 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Tue, 11 Jan 2022 11:45:26 -1000 Subject: [PATCH] Bug 29557: DBRev 21.12.00.006 Signed-off-by: Fridolin Somers Signed-off-by: Fridolin Somers --- Koha.pm | 2 +- .../mysql/{atomicupdate/bug_29557.pl => db_revs/211200006.pl} | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) rename installer/data/mysql/{atomicupdate/bug_29557.pl => db_revs/211200006.pl} (86%) 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" }, } -- 2.39.5