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.
|
||||
# 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.06.00.011";
|
||||
$VERSION = "24.06.00.012";
|
||||
|
||||
sub version {
|
||||
return $VERSION;
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
use Modern::Perl;
|
||||
use Koha::Installer::Output qw(say_warning say_failure say_success say_info);
|
||||
|
||||
return {
|
||||
bug_number => "26205",
|
||||
description =>
|
||||
"Add new system preference OPACShowLibraries to control whether the libraries link appears in the OPAC",
|
||||
up => sub {
|
||||
description => "Add new system preference OPACShowLibraries",
|
||||
up => sub {
|
||||
my ($args) = @_;
|
||||
my $dbh = $args->{dbh};
|
||||
my ( $dbh, $out ) = @$args{qw(dbh out)};
|
||||
|
||||
$dbh->do(
|
||||
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')
|
||||
}
|
||||
);
|
||||
say_success( $out, "Added new system preference 'OPACShowLibraries'" );
|
||||
},
|
||||
}
|
||||
};
|
Loading…
Reference in a new issue