Bug 20411: DBRev 24.06.00.026

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Katrin Fischer 2024-08-26 08:35:00 +00:00
parent 7f94ad14f0
commit 1a1aa90cdc
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834
2 changed files with 3 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.025";
$VERSION = "24.06.00.026";
sub version {
return $VERSION;

View file

@ -1,4 +1,5 @@
use Modern::Perl;
use Koha::Installer::Output qw(say_warning say_failure say_success say_info);
return {
bug_number => "20411",
@ -7,12 +8,11 @@ return {
my ($args) = @_;
my ( $dbh, $out ) = @$args{qw(dbh out)};
# Do you stuffs here
$dbh->do(
q{
DELETE FROM systempreferences WHERE variable='StaffDetailItemSelection'
}
) == 1 && say $out "Removed system preference 'StaffDetailItemSelection'";
) == 1 && say_success( $out, "Removed system preference 'StaffDetailItemSelection'" );
},
};