From effe2a1f1df4df3e45e27ec94181f5dd524467e1 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 17 Apr 2025 09:44:32 -0300 Subject: [PATCH] Bug 36197: Atomic update style update Signed-off-by: Tomas Cohen Arazi --- installer/data/mysql/atomicupdate/bug_36197.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/installer/data/mysql/atomicupdate/bug_36197.pl b/installer/data/mysql/atomicupdate/bug_36197.pl index c3d53c045f5..a6ddaec0ad1 100755 --- a/installer/data/mysql/atomicupdate/bug_36197.pl +++ b/installer/data/mysql/atomicupdate/bug_36197.pl @@ -1,4 +1,6 @@ use Modern::Perl; +use Koha::Installer::Output qw(say_warning say_success say_info); + return { bug_number => "36197", description => "Add new ILLOpacUnauthenticatedRequest system preferences", @@ -9,6 +11,6 @@ return { $dbh->do( q{ INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('ILLOpacUnauthenticatedRequest','',NULL,'Can OPAC users place ILL requests without having to be logged in','YesNo'); } ); - say $out "Added new system preference 'ILLOpacUnauthenticatedRequest'"; + say_success( $out, "Added new system preference 'ILLOpacUnauthenticatedRequest'" ); }, }; -- 2.49.0