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

(-)a/installer/data/mysql/atomicupdate/bug_18317.pl (-6 / +7 lines)
Lines 1-16 Link Here
1
use Modern::Perl;
1
use Modern::Perl;
2
2
3
return {
3
return {
4
    bug_number => "18317",
4
    bug_number  => "18317",
5
    description => "Allow check out of already checked out items through SIP"
5
    description => "Allow check out of already checked out items through SIP",
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
9
10
        $dbh->do(q{
10
        $dbh->do(
11
            q{
11
            INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
12
            INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
12
            ('AllowItemsOnLoanCheckoutSIP','0','','Do not generate ISSUED_TO_ANOTHER warning when checking out items already checked out to someone else via SIP. This allows self checkouts for those items.','YesNo')
13
            ('AllowItemsOnLoanCheckoutSIP','0','','Do not generate ISSUED_TO_ANOTHER warning when checking out items already checked out to someone else via SIP. This allows self checkouts for those items.','YesNo')
13
        });
14
        }
15
        );
14
16
15
        say $out "Added new system preference 'AllowItemsOnLoanCheckoutSIP'";
17
        say $out "Added new system preference 'AllowItemsOnLoanCheckoutSIP'";
16
    },
18
    },
17
- 

Return to bug 18317