diff --git a/Koha.pm b/Koha.pm index 3f92805b3a..338cf844fb 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.12.00.040"; +$VERSION = "24.12.00.041"; sub version { return $VERSION; diff --git a/installer/data/mysql/atomicupdate/bug_39452_add_cardnumberlog.pl b/installer/data/mysql/db_revs/241200041.pl similarity index 69% rename from installer/data/mysql/atomicupdate/bug_39452_add_cardnumberlog.pl rename to installer/data/mysql/db_revs/241200041.pl index 6f82ef4ce2..001b546e13 100755 --- a/installer/data/mysql/atomicupdate/bug_39452_add_cardnumberlog.pl +++ b/installer/data/mysql/db_revs/241200041.pl @@ -3,7 +3,7 @@ use Koha::Installer::Output qw(say_warning say_success say_info); return { bug_number => "39452", - description => "Add CardnumberLog Preference", + description => "Add CardnumberLog system preference", up => sub { my ($args) = @_; my ( $dbh, $out ) = @$args{qw(dbh out)}; @@ -12,10 +12,10 @@ return { $dbh->do( q{ INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES - ('CardnumberLog','1',NULL,'If ON, log edit actions on patron cardnumbers','YesNo') + ('CardnumberLog','0',NULL,'If ON, log edit actions on patron cardnumbers','YesNo') } ); - say $out "Added new system preference 'CardnumberLog'"; + say_success( $out, "Added new system preference 'CardnumberLog'" ); }, };