From aa4d179256303eb61e5934b1b6e3e70e489c44e1 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 28 Sep 2021 15:11:24 +0200 Subject: [PATCH] Bug 29073: DBRev 21.06.00.024 Signed-off-by: Jonathan Druart --- Koha.pm | 2 +- .../mysql/{atomicupdate/bug_29073.pl => db_revs/210600024.pl} | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) rename installer/data/mysql/{atomicupdate/bug_29073.pl => db_revs/210600024.pl} (75%) diff --git a/Koha.pm b/Koha.pm index 7847e678a0..87a72f9f99 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 = "21.06.00.023"; +$VERSION = "21.06.00.024"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_29073.pl b/installer/data/mysql/db_revs/210600024.pl similarity index 75% rename from installer/data/mysql/atomicupdate/bug_29073.pl rename to installer/data/mysql/db_revs/210600024.pl index ef06a3e8f0..58b7c5c437 100755 --- a/installer/data/mysql/atomicupdate/bug_29073.pl +++ b/installer/data/mysql/db_revs/210600024.pl @@ -6,12 +6,9 @@ return { up => sub { my ($args) = @_; my ($dbh, $out) = @$args{qw(dbh out)}; - # Do you stuffs here $dbh->do(q{ UPDATE systempreferences SET value = IF(value = 'yes',1,0) WHERE variable = 'DefaultHoldExpirationdate'; }); - # Print useful stuff here - say $out "DefaultHoldExpirationdate values updated"; }, } -- 2.39.5