Bug 20411: DBRev 24.06.00.026
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
7f94ad14f0
commit
1a1aa90cdc
2 changed files with 3 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.025";
|
||||
$VERSION = "24.06.00.026";
|
||||
|
||||
sub version {
|
||||
return $VERSION;
|
||||
|
|
|
@ -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'" );
|
||||
|
||||
},
|
||||
};
|
Loading…
Reference in a new issue