Bug 30852: DBRev 21.12.00.057
[koha.git] / installer / data / mysql / db_revs / 210600040.pl
1 use Modern::Perl;
2
3 return {
4     bug_number => "28263",
5     description => "Update AUTO_RENEWAL too_many message",
6     up => sub {
7         my ($args) = @_;
8         my ($dbh) = @$args{qw(dbh)};
9         $dbh->do(q{
10             UPDATE letter SET
11             content = REPLACE(content, "You have reached the maximum number of checkouts possible." , "You have reached the maximum number of renewals possible.")
12             WHERE ( code = 'AUTO_RENEWALS' OR code = 'AUTO_RENEWALS_DGST' );
13         });
14     },
15 }