Bug 33217: (QA follow-up) Tiny tidy of atomicupdate

Just adds an end and removes the commented line.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Katrin Fischer 2023-11-05 01:40:17 +00:00 committed by Tomas Cohen Arazi
parent 650ea20950
commit 0fdd923d72
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -7,7 +7,6 @@ return {
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
@ -15,6 +14,6 @@ return {
('AuthorLinkSortOrder','asc','asc|dsc|az|za','Specify the default sort order for author links','Choice')
}
);
say $out "Added new system preferences 'AuthorLinkSortBy' 'AuthorLinkSortOrder'";
say $out "Added new system preferences 'AuthorLinkSortBy' and 'AuthorLinkSortOrder'";
},
};