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

(-)a/installer/data/mysql/atomicupdate/bug_11889.pl (-1 / +13 lines)
Line 0 Link Here
0
- 
1
use Modern::Perl;
2
3
return {
4
    bug_number => 11889,
5
    description => "Add pref ListOwnershipUponPatronDeletion",
6
    up => sub {
7
        my ($args) = @_;
8
        my ($dbh, $out) = @$args{qw(dbh out)};
9
        $dbh->do(q{
10
INSERT IGNORE INTO systempreferences (`variable`,`value`,`options`,`explanation`,`type`) VALUES ('ListOwnershipUponPatronDeletion', 'delete', 'delete|transfer', 'When deleting a patron who owns public lists, either delete the public lists or transfer ownership to the patron who deleted the owner', 'Choice');
11
        });
12
    },
13
};

Return to bug 11889