From 22d42785808dff688782823d2fe061a27e5fcc66 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 3 Nov 2023 20:25:14 +0000 Subject: [PATCH] Bug 34557: (follow-up) Tidy Signed-off-by: Katrin Fischer --- installer/data/mysql/atomicupdate/bug_34557.pl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/installer/data/mysql/atomicupdate/bug_34557.pl b/installer/data/mysql/atomicupdate/bug_34557.pl index 213bc8484d..90a4cd3ec3 100755 --- a/installer/data/mysql/atomicupdate/bug_34557.pl +++ b/installer/data/mysql/atomicupdate/bug_34557.pl @@ -7,11 +7,12 @@ return { my ($args) = @_; my ( $dbh, $out ) = @$args{qw(dbh out)}; - # Do you stuffs here - $dbh->do(q{ + $dbh->do( + q{ INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES ('SCOLoadCheckoutsByDefault','1','','If enabled, load the list of a patrons checkouts when they log in to the Self Checkout','YesNo') - }); + } + ); say $out "Added new system preference 'SCOLoadCheckoutsByDefault'"; }, -- 2.30.2