From 2be2cd0b7541ccefa51c1669124382d98699c109 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Mon, 22 Jul 2024 11:39:26 +0200 Subject: [PATCH] Bug 36819: (RMaint follow-up) fix DBRev syntax --- installer/data/mysql/db_revs/231106001.pl | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/installer/data/mysql/db_revs/231106001.pl b/installer/data/mysql/db_revs/231106001.pl index 78ca416ab6..31454124e3 100755 --- a/installer/data/mysql/db_revs/231106001.pl +++ b/installer/data/mysql/db_revs/231106001.pl @@ -1,5 +1,4 @@ use Modern::Perl; -use Koha::Installer::Output qw(say_warning say_failure say_success say_info); return { bug_number => "36819", @@ -11,11 +10,9 @@ return { my $affected = $dbh->do(q{UPDATE creator_layouts SET scale_width = '0.800000' WHERE scale_width = '0.080000';}); if ($affected) { - say_warning( - $out, "Changed the barcode width in patron card creator default layout from 8% to 80%." - ); + say $out "Changed the barcode width in patron card creator default layout from 8% to 80%."; } else { - say_info( $out, "No patron card creator layouts found with 8% width, no changes required." ); + say $out "No patron card creator layouts found with 8% width, no changes required."; } }, }; -- 2.39.5