From 46b8650858b3a5a057775e7283751c021477c852 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Wed, 8 Nov 2023 17:32:15 -0300 Subject: [PATCH] Bug 34889: DBRev 23.06.00.070 Signed-off-by: Tomas Cohen Arazi --- Koha.pm | 2 +- .../230600070.pl} | 13 ++++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) rename installer/data/mysql/{atomicupdate/bug-34889-move-PatronSelfRegistrationAdditionalInstructions-to-additional-contents.pl => db_revs/230600070.pl} (82%) diff --git a/Koha.pm b/Koha.pm index ba3c01e84c..8c332695bd 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.069"; +$VERSION = "23.06.00.070"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug-34889-move-PatronSelfRegistrationAdditionalInstructions-to-additional-contents.pl b/installer/data/mysql/db_revs/230600070.pl similarity index 82% rename from installer/data/mysql/atomicupdate/bug-34889-move-PatronSelfRegistrationAdditionalInstructions-to-additional-contents.pl rename to installer/data/mysql/db_revs/230600070.pl index a85eff87b7..98ccb50dd4 100755 --- a/installer/data/mysql/atomicupdate/bug-34889-move-PatronSelfRegistrationAdditionalInstructions-to-additional-contents.pl +++ b/installer/data/mysql/db_revs/230600070.pl @@ -30,9 +30,12 @@ return { undef, $insert_id, $patronselfregistrationadditionalinstructions ); - # Remove old system preference - $dbh->do("DELETE FROM systempreferences WHERE variable='PatronSelfRegistrationAdditionalInstructions'"); - say $out "Bug 34889 update done"; + say $out "Added 'PatronSelfRegistrationAdditionalInstructions' additional content"; } - } - } + + # Remove old system preference + $dbh->do("DELETE FROM systempreferences WHERE variable='PatronSelfRegistrationAdditionalInstructions'"); + say $out "Removed system preference 'PatronSelfRegistrationAdditionalInstructions'"; + + }, +}; -- 2.39.5