From 2d44d466148c3bf783d726a89962a1d885cbf123 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Fri, 26 Jan 2024 18:47:50 +0000 Subject: [PATCH] Bug 23208: perltidy Signed-off-by: Andrew Fuerste Henry --- installer/data/mysql/atomicupdate/bug_23208.pl | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/installer/data/mysql/atomicupdate/bug_23208.pl b/installer/data/mysql/atomicupdate/bug_23208.pl index 9d9b1bd9c42..eacccda2429 100755 --- a/installer/data/mysql/atomicupdate/bug_23208.pl +++ b/installer/data/mysql/atomicupdate/bug_23208.pl @@ -1,15 +1,19 @@ use Modern::Perl; return { - bug_number => "23208", + bug_number => "23208", description => "Add system preference HoldRatioDefault", - up => sub { + up => sub { my ($args) = @_; - my ($dbh, $out) = @$args{qw(dbh out)}; + 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 ('HoldRatioDefault','3','','Default value for the Hold ratio report','Integer') - }); + } + ); }, }; + -- 2.30.2