diff --git a/Koha.pm b/Koha.pm index e778013f5a..100fa83adb 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.011"; +$VERSION = "24.06.00.012"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_30873.pl b/installer/data/mysql/db_revs/240600012.pl similarity index 56% rename from installer/data/mysql/atomicupdate/bug_30873.pl rename to installer/data/mysql/db_revs/240600012.pl index 4e20eec083..baced2cb5a 100755 --- a/installer/data/mysql/atomicupdate/bug_30873.pl +++ b/installer/data/mysql/db_revs/240600012.pl @@ -1,12 +1,12 @@ use Modern::Perl; +use Koha::Installer::Output qw(say_warning say_failure say_success say_info); return { bug_number => "26205", - description => - "Add new system preference OPACShowLibraries to control whether the libraries link appears in the OPAC", - up => sub { + description => "Add new system preference OPACShowLibraries", + up => sub { my ($args) = @_; - my $dbh = $args->{dbh}; + my ( $dbh, $out ) = @$args{qw(dbh out)}; $dbh->do( q{ @@ -14,5 +14,6 @@ return { VALUES ('OPACShowLibraries', '1', 'If enabled, a "Libraries" link appears in the OPAC pointing to a page with library information', '', 'YesNo') } ); + say_success( $out, "Added new system preference 'OPACShowLibraries'" ); }, - } +};