View | Details | Raw Unified | Return to bug 30226
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/bug_30226.pl (-4 lines)
Lines 6-16 return { Link Here
6
    up => sub {
6
    up => sub {
7
        my ($args) = @_;
7
        my ($args) = @_;
8
        my ($dbh, $out) = @$args{qw(dbh out)};
8
        my ($dbh, $out) = @$args{qw(dbh out)};
9
        # Add system preference AllowSetAutomaticRenewal
10
        $dbh->do(q{
9
        $dbh->do(q{
11
            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')
10
            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')
12
        });
11
        });
13
        # Finished adding system preference AllowSetAutomaticRenewal
14
        say $out "Added system preference AllowSetAutomaticRenewal";
15
    },
12
    },
16
};
13
};
17
- 

Return to bug 30226