Bug 27490: DBRev 24.06.00.027

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Katrin Fischer 2024-09-13 11:48:42 +00:00
parent eae7f19f07
commit 7b713e5acf
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834
2 changed files with 4 additions and 3 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 = "24.06.00.026";
$VERSION = "24.06.00.027";
sub version {
return $VERSION;

View file

@ -1,14 +1,15 @@
use Modern::Perl;
use Koha::Installer::Output qw(say_warning say_failure say_success say_info);
return {
bug_number => "27490",
description => "Changing language syspref to StaffInterfaceLanguages",
description => "Change language syspref to StaffInterfaceLanguages",
up => sub {
my ($args) = @_;
my ( $dbh, $out ) = @$args{qw(dbh out)};
$dbh->do(q{UPDATE systempreferences SET variable='StaffInterfaceLanguages' WHERE variable='language'});
say $out "Updated system preference 'Change language to StaffInterfaceLanguages'";
say_success( $out, "Updated system preference 'language' to 'StaffInterfaceLanguages'" );
},
};