Bug 35028: DBRev 24.12.00.008
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
da6e35a978
commit
0cf04c11db
2 changed files with 4 additions and 2 deletions
2
Koha.pm
2
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.007";
|
||||
$VERSION = "24.12.00.008";
|
||||
|
||||
sub version {
|
||||
return $VERSION;
|
||||
|
|
|
@ -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'" );
|
||||
},
|
||||
};
|
Loading…
Reference in a new issue