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

(-)a/installer/data/mysql/atomicupdate/bug_18317.pl (-1 / +17 lines)
Line 0 Link Here
0
- 
1
use Modern::Perl;
2
3
return {
4
    bug_number => "18317",
5
    description => "Allow check out of already checked out items through SIP"
6
    up => sub {
7
        my ($args) = @_;
8
        my ( $dbh, $out ) = @$args{qw(dbh out)};
9
10
        $dbh->do(q{
11
            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
        });
14
15
        say $out "Added new system preference 'AllowItemsOnLoanCheckoutSIP'";
16
    },
17
};

Return to bug 18317