From f74e5d1d9d47b15249bf525a66cab3974f427f1a Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 9 Nov 2023 09:57:01 -0300 Subject: [PATCH] Bug 34894: DBRev 23.06.00.074 Signed-off-by: Tomas Cohen Arazi --- Koha.pm | 2 +- .../230600074.pl} | 13 ++++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) rename installer/data/mysql/{atomicupdate/bug-34894-move-OpacSuppressionMessage-to-additional-contents.pl => db_revs/230600074.pl} (83%) diff --git a/Koha.pm b/Koha.pm index aa90690435..5cfe82ddb5 100644 --- a/Koha.pm +++ b/Koha.pm @@ -29,7 +29,7 @@ use vars qw{ $VERSION }; # - #4 : the developer version. The 4th number is the database subversion. # used by developers when the database changes. updatedatabase take care of the changes itself # and is automatically called by Auth.pm when needed. -$VERSION = "23.06.00.073"; +$VERSION = "23.06.00.074"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug-34894-move-OpacSuppressionMessage-to-additional-contents.pl b/installer/data/mysql/db_revs/230600074.pl similarity index 83% rename from installer/data/mysql/atomicupdate/bug-34894-move-OpacSuppressionMessage-to-additional-contents.pl rename to installer/data/mysql/db_revs/230600074.pl index 55f9dd9453..910a152712 100755 --- a/installer/data/mysql/atomicupdate/bug-34894-move-OpacSuppressionMessage-to-additional-contents.pl +++ b/installer/data/mysql/db_revs/230600074.pl @@ -30,9 +30,12 @@ return { undef, $insert_id, $opacsuppressionmessage ); - # Remove old system preference - $dbh->do("DELETE FROM systempreferences WHERE variable='OpacSuppressionMessage'"); - say $out "Bug 34894 update done"; + say $out "Added 'OpacSuppressionMessage' additional content"; } - } - } + + # Remove old system preference + $dbh->do("DELETE FROM systempreferences WHERE variable='OpacSuppressionMessage'"); + say $out "Removed system preference 'OpacSuppressionMessage'"; + + }, +}; -- 2.39.5