Bug 41084: DBRev 26.06.00.004

Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
This commit is contained in:
Pedro Amorim 2026-07-17 12:19:15 +00:00
parent 52358cf3b6
commit e5aa0c0737
No known key found for this signature in database
GPG Key ID: 06B75BA7F3894D55
2 changed files with 21 additions and 1 deletions

View File

@ -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 = "26.06.00.003";
$VERSION = "26.06.00.004";
sub version {
return $VERSION;

View File

@ -0,0 +1,20 @@
use Modern::Perl;
use Koha::Installer::Output qw(say_warning say_success say_info);
return {
bug_number => "41084",
description => "Add EnableZotero system preference",
up => sub {
my ($args) = @_;
my ( $dbh, $out ) = @$args{qw(dbh out)};
$dbh->do(
q{
INSERT IGNORE INTO systempreferences (variable,value) VALUES
('EnableZotero','1')
}
);
say_success( $out, "Added new system preference 'EnableZotero'" );
},
};