From ebededdf77f184c7912734389da644fa57cd44ae Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Wed, 9 Oct 2024 08:47:03 +0000 Subject: [PATCH] [23.11] Bug 37954: Atomc update --- installer/data/mysql/atomicupdate/bug_37954.pl | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/installer/data/mysql/atomicupdate/bug_37954.pl b/installer/data/mysql/atomicupdate/bug_37954.pl index 1c75e5b3ed7..0a70872b9e7 100755 --- a/installer/data/mysql/atomicupdate/bug_37954.pl +++ b/installer/data/mysql/atomicupdate/bug_37954.pl @@ -1,5 +1,4 @@ use Modern::Perl; -use Koha::Installer::Output qw(say_warning say_failure say_success say_info); return { bug_number => "37954", @@ -14,7 +13,7 @@ return { } ); if ($existing_holdings_barcode_setting) { - say_info( $out, "Settings already exist" ); + say $out "Settings already exist"; } else { my ( $cannot_be_toggled, $is_hidden ) = $dbh->selectrow_array( q{ @@ -29,9 +28,9 @@ return { ('catalogue', 'detail', 'holdings_table', 'holdings_barcode', $cannot_be_toggled, $is_hidden ) } ); - say_success( $out, "Settings moved to holdings_barcode" ); + say $out "Settings moved to holdings_barcode"; } else { - say_info( $out, "No settings for holdings_barcodes found" ); + say $out "No settings for holdings_barcodes found"; } } $dbh->do( -- 2.39.5