Bug 27490: DBRev 24.06.00.027
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
eae7f19f07
commit
7b713e5acf
2 changed files with 4 additions and 3 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.026";
|
||||
$VERSION = "24.06.00.027";
|
||||
|
||||
sub version {
|
||||
return $VERSION;
|
||||
|
|
|
@ -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'" );
|
||||
},
|
||||
};
|
Loading…
Reference in a new issue