Koha/installer/data/mysql/db_revs/230600005.pl
Tomas Cohen Arazi 2d1d69f3bc
Bug 33961: DBRev 23.06.00.005
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-06-12 16:53:26 -03:00

15 lines
406 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "33961",
description => "Remove Offline circulation tool",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
$dbh->do(q{
DELETE FROM systempreferences
WHERE variable="AllowOfflineCirculation"
});
say $out "Removed system preference 'AllowOfflineCirculation'";
},
};