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

(-)a/installer/data/mysql/atomicupdate/bug_35604.pl (-1 / +16 lines)
Line 0 Link Here
0
- 
1
use Modern::Perl;
2
use Koha::Installer::Output qw(say_warning say_success say_info);
3
4
return {
5
    bug_number  => "35604",
6
    description => "Add new AutoILLBackendPriority system preferences",
7
    up          => sub {
8
        my ($args) = @_;
9
        my ( $dbh, $out ) = @$args{qw(dbh out)};
10
11
        $dbh->do(
12
            q{ INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('AutoILLBackendPriority','',NULL,'Set the automatic backend selection priority','ILLBackends'); }
13
        );
14
        say_success( $out, "Added new system preference 'AutoILLBackendPriority'" );
15
    },
16
};

Return to bug 35604