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:
parent
77cd5d301d
commit
45e8a00ee9
|
|
@ -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";
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue