Koha/installer/data/mysql/db_revs/210600040.pl
Jonathan Druart 080197d175 Bug 28263: DBRev 21.06.00.040
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-11-02 16:50:01 +01:00

15 lines
503 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "28263",
description => "Update AUTO_RENEWAL too_many message",
up => sub {
my ($args) = @_;
my ($dbh) = @$args{qw(dbh)};
$dbh->do(q{
UPDATE letter SET
content = REPLACE(content, "You have reached the maximum number of checkouts possible." , "You have reached the maximum number of renewals possible.")
WHERE ( code = 'AUTO_RENEWALS' OR code = 'AUTO_RENEWALS_DGST' );
});
},
}