From 2b3ad46f979d0ba2e5c0ea2e128597e9c8bf153e Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Mon, 13 May 2024 08:33:50 +0000 Subject: [PATCH] Bug 35149: DBRev 23.12.00.056 Signed-off-by: Katrin Fischer --- Koha.pm | 2 +- .../231200056.pl} | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) rename installer/data/mysql/{atomicupdate/bug_35149-add-do-nothing-to-CircAutoPrintQuickSlip-syspref.pl => db_revs/231200056.pl} (53%) diff --git a/Koha.pm b/Koha.pm index b40d28195d..a72a269d57 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.12.00.055"; +$VERSION = "23.12.00.056"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_35149-add-do-nothing-to-CircAutoPrintQuickSlip-syspref.pl b/installer/data/mysql/db_revs/231200056.pl similarity index 53% rename from installer/data/mysql/atomicupdate/bug_35149-add-do-nothing-to-CircAutoPrintQuickSlip-syspref.pl rename to installer/data/mysql/db_revs/231200056.pl index 6b31aad8eb..9b5badaecb 100755 --- a/installer/data/mysql/atomicupdate/bug_35149-add-do-nothing-to-CircAutoPrintQuickSlip-syspref.pl +++ b/installer/data/mysql/db_revs/231200056.pl @@ -8,7 +8,9 @@ return { my ( $dbh, $out ) = @$args{qw(dbh out)}; # Do you stuffs here - $dbh->do(q{UPDATE `systempreferences` SET `explanation` = 'Choose what should happen when an empty barcode field is submitted in circulation: Display a print quick slip window, Display a print slip window, Do nothing, or Clear the screen.' WHERE `variable` = 'CircAutoPrintQuickSlip'}); + $dbh->do( + q{UPDATE `systempreferences` SET `explanation` = 'Choose what should happen when an empty barcode field is submitted in circulation: Display a print quick slip window, Display a print slip window, Do nothing, or Clear the screen.' WHERE `variable` = 'CircAutoPrintQuickSlip'} + ); say $out "Updated system preference 'CircAutoPrintQuickSlip'"; }, -- 2.39.5