From fd0cb986222b35779cf181ec5977399706f05f42 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Wed, 8 Nov 2023 17:27:45 -0300 Subject: [PATCH] Bug 34869: DBRev 23.06.00.069 Signed-off-by: Tomas Cohen Arazi --- Koha.pm | 2 +- .../230600069.pl} | 13 ++++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) rename installer/data/mysql/{atomicupdate/bug-34869-move-opacresultssidebar-to-additional-contents.pl => db_revs/230600069.pl} (83%) diff --git a/Koha.pm b/Koha.pm index 6f497e6e55..ba3c01e84c 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.068"; +$VERSION = "23.06.00.069"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug-34869-move-opacresultssidebar-to-additional-contents.pl b/installer/data/mysql/db_revs/230600069.pl similarity index 83% rename from installer/data/mysql/atomicupdate/bug-34869-move-opacresultssidebar-to-additional-contents.pl rename to installer/data/mysql/db_revs/230600069.pl index a6662e41e3..90707d64bc 100755 --- a/installer/data/mysql/atomicupdate/bug-34869-move-opacresultssidebar-to-additional-contents.pl +++ b/installer/data/mysql/db_revs/230600069.pl @@ -30,9 +30,12 @@ return { undef, $insert_id, $opacresultssidebar ); - # Remove old system preference - $dbh->do("DELETE FROM systempreferences WHERE variable='OPACResultsSidebar'"); - say $out "Bug 34869 update done"; + say $out "Added 'OpacMaintenanceNotice' additional content"; } - } - } + + # Remove old system preference + $dbh->do("DELETE FROM systempreferences WHERE variable='OPACResultsSidebar'"); + say $out "Removed system preference 'OPACResultsSidebar'"; + + }, +}; -- 2.39.5