Bug 30226: (follow-up) Remove text from database update

The text displayed by database update is not really helpful.
And it will be incorrect if update is run several times.

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Fridolin Somers 2022-04-20 14:56:16 -10:00
parent 77cd5d301d
commit 45e8a00ee9
1 changed files with 0 additions and 3 deletions

View File

@ -6,11 +6,8 @@ return {
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
# Add system preference AllowSetAutomaticRenewal
$dbh->do(q{
INSERT IGNORE INTO systempreferences (`variable`, `value`, `options`, `explanation`, `type` ) VALUES('AllowSetAutomaticRenewal', '1', NULL, 'If ON, allows staff to flag items for automatic renewal on the check out page', 'YesNo')
});
# Finished adding system preference AllowSetAutomaticRenewal
say $out "Added system preference AllowSetAutomaticRenewal";
},
};