From 2d2111b4b0e9f398d5b723ee117bdbd2e3a8f789 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Wed, 20 Apr 2022 14:56:16 -1000 Subject: [PATCH] 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. --- installer/data/mysql/atomicupdate/bug_30226.pl | 3 --- 1 file changed, 3 deletions(-) diff --git a/installer/data/mysql/atomicupdate/bug_30226.pl b/installer/data/mysql/atomicupdate/bug_30226.pl index 76972f8a6f..3a2fffaa1d 100755 --- a/installer/data/mysql/atomicupdate/bug_30226.pl +++ b/installer/data/mysql/atomicupdate/bug_30226.pl @@ -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"; }, }; -- 2.35.3