Bug 36819: (RMaint follow-up) fix DBRev syntax
This commit is contained in:
parent
637cfe45d9
commit
2be2cd0b75
|
|
@ -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.";
|
||||
}
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue