From 337301883b944ff4c031999974a46835dcb79b2e Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Mon, 26 Aug 2024 08:34:32 +0000 Subject: [PATCH] Bug 26777: DBRev 24.06.00.025 Signed-off-by: Katrin Fischer --- Koha.pm | 2 +- .../{atomicupdate/bug_26777.pl => db_revs/240600025.pl} | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) rename installer/data/mysql/{atomicupdate/bug_26777.pl => db_revs/240600025.pl} (84%) diff --git a/Koha.pm b/Koha.pm index 4076616442..3368d7111d 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 = "24.06.00.024"; +$VERSION = "24.06.00.025"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_26777.pl b/installer/data/mysql/db_revs/240600025.pl similarity index 84% rename from installer/data/mysql/atomicupdate/bug_26777.pl rename to installer/data/mysql/db_revs/240600025.pl index f9df800b93..29f237d18a 100755 --- a/installer/data/mysql/atomicupdate/bug_26777.pl +++ b/installer/data/mysql/db_revs/240600025.pl @@ -8,13 +8,13 @@ return { my ($args) = @_; my ( $dbh, $out ) = @$args{qw(dbh out)}; - # Do you stuffs here $dbh->do( q{ INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES ('OPACVirtualCard', '0', NULL,'Enable virtual library cards for patrons on the OPAC.', 'YesNo') } ); + say_success( $out, "Added new system preference 'OPACVirtualCard'" ); $dbh->do( q{ @@ -22,11 +22,7 @@ return { ('OPACVirtualCardBarcode', 'code39', 'code39|code128|ean13|upca|upce|ean8|itf14|qrcode|matrix2of5|industrial2of5|iata2of5|coop2of5','Specify the type of barcode to be used in the patron virtual library card tab in the OPAC.', 'Choice') } ); - - - # sysprefs - say $out "Added new system preference 'OPACVirtualCard'"; - say $out "Added new system preference 'OPACVirtualCardBarcode'"; + say_success( $out, "Added new system preference 'OPACVirtualCardBarcode'" ); }, }; -- 2.39.5