From a5d7db593230ebf1596030006030ce9152ea63a7 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 9 Nov 2023 14:42:57 +0000 Subject: [PATCH] Bug 35063: (follow-up) Atomic update fixes --- ...lfCheckInMainUserBlock-to-additional-contents.pl | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/installer/data/mysql/atomicupdate/bug-35063-move-SelfCheckInMainUserBlock-to-additional-contents.pl b/installer/data/mysql/atomicupdate/bug-35063-move-SelfCheckInMainUserBlock-to-additional-contents.pl index fe0f81c429..6d65414909 100755 --- a/installer/data/mysql/atomicupdate/bug-35063-move-SelfCheckInMainUserBlock-to-additional-contents.pl +++ b/installer/data/mysql/atomicupdate/bug-35063-move-SelfCheckInMainUserBlock-to-additional-contents.pl @@ -29,9 +29,12 @@ return { undef, $insert_id, $scimainuserblock ); - # Remove old system preference - $dbh->do("DELETE FROM systempreferences WHERE variable='SelfCheckInMainUserBlock'"); - say $out "Bug 35063 update done"; + say $out "Added 'SelfCheckInMainUserBlock' HTML customization"; } - } - } + + # Remove old system preference + $dbh->do("DELETE FROM systempreferences WHERE variable='SelfCheckInMainUserBlock'"); + say $out "Removed system preference 'SelfCheckInMainUserBlock'"; + + }, +}; -- 2.30.2