Bug 35028: DBRev 24.12.00.008

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Katrin Fischer 2025-02-03 13:16:23 +00:00
parent da6e35a978
commit 0cf04c11db
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834
2 changed files with 4 additions and 2 deletions

View file

@ -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.007";
$VERSION = "24.12.00.008";
sub version {
return $VERSION;

View file

@ -1,8 +1,9 @@
use Modern::Perl;
use Koha::Installer::Output qw(say_warning say_success say_info);
return {
bug_number => '35028',
description => 'Add system preference PatronSelfRegistrationAlert',
description => "Add system preference 'PatronSelfRegistrationAlert'",
up => sub {
my ($args) = @_;
my ( $dbh, $out ) = @$args{qw(dbh out)};
@ -11,5 +12,6 @@ return {
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
('PatronSelfRegistrationAlert','0',NULL,'If enabled, an alter will be shown on staff interface home page when there are self-registered patrons.','YesNo')
" );
say_success( $out, "Added new system preference 'PatronSelfRegistrationAlert'" );
},
};