Katrin Fischer
a0eabd2817
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 6f705dfb1f
)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
16 lines
583 B
Perl
Executable file
16 lines
583 B
Perl
Executable file
use Modern::Perl;
|
|
|
|
return {
|
|
bug_number => "35973",
|
|
description => "Correct system preference 'RedirectGuaranteeEmail'",
|
|
up => sub {
|
|
my ($args) = @_;
|
|
my ( $dbh, $out ) = @$args{qw(dbh out)};
|
|
|
|
# Do you stuffs here
|
|
$dbh->do(q{UPDATE systempreferences SET value = 1 WHERE variable = "RedirectGuaranteeEmail" and value = "yes"});
|
|
$dbh->do(q{UPDATE systempreferences SET value = 0 WHERE variable = "RedirectGuaranteeEmail" and value = "no"});
|
|
|
|
say $out "Corrected system preference 'RedirectGuaranteeEmail'";
|
|
},
|
|
};
|