Bug 30873: DBRev 24.06.00.012
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
0d4ebe4170
commit
49ecc5c797
2 changed files with 7 additions and 6 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.
|
# - #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;
|
||||||
|
|
|
@ -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'" );
|
||||||
},
|
},
|
||||||
}
|
};
|
Loading…
Reference in a new issue