Skip to content

Commit 0cf04c1

Browse files
committed
Bug 35028: DBRev 24.12.00.008
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
1 parent da6e35a commit 0cf04c1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Koha.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ use vars qw{ $VERSION };
2929
# - #4 : the developer version. The 4th number is the database subversion.
3030
# used by developers when the database changes. updatedatabase take care of the changes itself
3131
# and is automatically called by Auth.pm when needed.
32-
$VERSION = "24.12.00.007";
32+
$VERSION = "24.12.00.008";
3333

3434
sub version {
3535
return $VERSION;
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
use Modern::Perl;
2+
use Koha::Installer::Output qw(say_warning say_success say_info);
23

34
return {
45
bug_number => '35028',
5-
description => 'Add system preference PatronSelfRegistrationAlert',
6+
description => "Add system preference 'PatronSelfRegistrationAlert'",
67
up => sub {
78
my ($args) = @_;
89
my ( $dbh, $out ) = @$args{qw(dbh out)};
@@ -11,5 +12,6 @@
1112
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
1213
('PatronSelfRegistrationAlert','0',NULL,'If enabled, an alter will be shown on staff interface home page when there are self-registered patrons.','YesNo')
1314
" );
15+
say_success( $out, "Added new system preference 'PatronSelfRegistrationAlert'" );
1416
},
1517
};

0 commit comments

Comments
 (0)