From 999a890aad79fcc5e407e5d6ba1b5768752a5698 Mon Sep 17 00:00:00 2001 From: Kyle Hall Date: Fri, 16 Dec 2022 09:22:41 -0500 Subject: [PATCH] Bug 30403: (QA follow-up) Fix up atomic update Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- installer/data/mysql/atomicupdate/bug_30403.pl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/installer/data/mysql/atomicupdate/bug_30403.pl b/installer/data/mysql/atomicupdate/bug_30403.pl index 2dd37a58cd..e155df848b 100755 --- a/installer/data/mysql/atomicupdate/bug_30403.pl +++ b/installer/data/mysql/atomicupdate/bug_30403.pl @@ -2,13 +2,11 @@ use Modern::Perl; return { bug_number => "30403", - description => "A single line description", + description => "Add system preference UpdateNotForLoanStatusOnCheckin", up => sub { my ($args) = @_; my ($dbh, $out) = @$args{qw(dbh out)}; # Do you stuffs here $dbh->do(q{INSERT IGNORE INTO systempreferences ( variable, value, options, explanation, type ) VALUES ('UpdateNotForLoanStatusOnCheckin', '', 'NULL', 'This is a list of value pairs. When an item is checked in, if the not for loan value on the left matches the items not for loan value it will be updated to the right-hand value. E.g. ''-1: 0'' will cause an item that was set to ''Ordered'' to now be available for loan. Each pair of values should be on a separate line.', 'Free')}); - # Print useful stuff here - say $out "Update is going well so far"; }, }; -- 2.39.5