From 51434c925d68861a6adbe7ea28269510a71c35ff Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Fri, 26 Jan 2024 18:47:50 +0000 Subject: [PATCH] Bug 23208: perltidy --- installer/data/mysql/atomicupdate/bug_23208.pl | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/installer/data/mysql/atomicupdate/bug_23208.pl b/installer/data/mysql/atomicupdate/bug_23208.pl index 3422607160..eacccda242 100755 --- a/installer/data/mysql/atomicupdate/bug_23208.pl +++ b/installer/data/mysql/atomicupdate/bug_23208.pl @@ -1,16 +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