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

(-)a/installer/data/mysql/atomicupdate/bug_40879.pl (-3 / +2 lines)
Lines 3-16 use Koha::Installer::Output qw(say_warning say_success say_info); Link Here
3
3
4
return {
4
return {
5
    bug_number  => "40879",
5
    bug_number  => "40879",
6
    description => "Add system preference to enable/disable the Cite option in the OPAC",
6
    description => "Add system preference to enable or disable the Cite option in the OPAC",
7
    up          => sub {
7
    up          => sub {
8
        my ($args) = @_;
8
        my ($args) = @_;
9
        my ( $dbh, $out ) = @$args{qw(dbh out)};
9
        my ( $dbh, $out ) = @$args{qw(dbh out)};
10
10
11
        # Do you stuffs here
11
        # Do you stuffs here
12
        $dbh->do(
12
        $dbh->do(
13
            q{INSERT IGNORE INTO systempreferences (variable, value, options, explanation, VALUES ('OpacCiteModal', '1', NULL, 'Enable or disable the Cite option in the OPAC record view.', 'YesNo')}
13
            q{INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type) VALUES ('OpacCiteModal', '1', NULL, 'Enable or disable the Cite option in the OPAC record view.', 'YesNo')}
14
        );
14
        );
15
15
16
        # sysprefs
16
        # sysprefs
17
- 

Return to bug 40879