diff --git a/Koha.pm b/Koha.pm index 768f212a3a..49fb0af546 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.009"; +$VERSION = "24.06.00.010"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_34481.pl b/installer/data/mysql/db_revs/240600010.pl similarity index 67% rename from installer/data/mysql/atomicupdate/bug_34481.pl rename to installer/data/mysql/db_revs/240600010.pl index e7a4f01038..0bfab138b4 100755 --- a/installer/data/mysql/atomicupdate/bug_34481.pl +++ b/installer/data/mysql/db_revs/240600010.pl @@ -1,4 +1,5 @@ use Modern::Perl; +use Koha::Installer::Output qw(say_warning say_failure say_success say_info); return { bug_number => "34481", @@ -7,11 +8,13 @@ return { my ($args) = @_; my ( $dbh, $out ) = @$args{qw(dbh out)}; - $dbh->do(q{ + $dbh->do( + q{ INSERT IGNORE INTO systempreferences (`variable`,`value`,`options`,`explanation`,`type`) VALUES ('IncludeSeeAlsoFromInSearches','0','','Include see-also-from references in searches.','YesNo') - }); + } + ); - say $out "Added new system preference 'IncludeSeeAlsoFromInSearches'"; + say_success( $out, "Added new system preference 'IncludeSeeAlsoFromInSearches'" ); }, };