Bug 30873: DBRev 24.06.00.012

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Katrin Fischer 2024-07-02 14:32:01 +00:00
parent 0d4ebe4170
commit 49ecc5c797
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834
2 changed files with 7 additions and 6 deletions

View file

@ -29,7 +29,7 @@ use vars qw{ $VERSION };
# - #4 : the developer version. The 4th number is the database subversion. # - #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 # used by developers when the database changes. updatedatabase take care of the changes itself
# and is automatically called by Auth.pm when needed. # and is automatically called by Auth.pm when needed.
$VERSION = "24.06.00.011"; $VERSION = "24.06.00.012";
sub version { sub version {
return $VERSION; return $VERSION;

View file

@ -1,12 +1,12 @@
use Modern::Perl; use Modern::Perl;
use Koha::Installer::Output qw(say_warning say_failure say_success say_info);
return { return {
bug_number => "26205", bug_number => "26205",
description => description => "Add new system preference OPACShowLibraries",
"Add new system preference OPACShowLibraries to control whether the libraries link appears in the OPAC",
up => sub { up => sub {
my ($args) = @_; my ($args) = @_;
my $dbh = $args->{dbh}; my ( $dbh, $out ) = @$args{qw(dbh out)};
$dbh->do( $dbh->do(
q{ q{
@ -14,5 +14,6 @@ return {
VALUES ('OPACShowLibraries', '1', 'If enabled, a "Libraries" link appears in the OPAC pointing to a page with library information', '', 'YesNo') VALUES ('OPACShowLibraries', '1', 'If enabled, a "Libraries" link appears in the OPAC pointing to a page with library information', '', 'YesNo')
} }
); );
say_success( $out, "Added new system preference 'OPACShowLibraries'" );
}, },
} };