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

(-)a/installer/data/mysql/updatedatabase.pl (-1 / +7 lines)
Lines 8613-8618 if ( CheckVersion($DBversion) ) { Link Here
8613
    SetVersion($DBversion);
8613
    SetVersion($DBversion);
8614
}
8614
}
8615
8615
8616
$DBversion = 'XXX';
8617
if ( CheckVersion($DBversion) ) {
8618
    $dbh->do("INSERT INTO systempreferences (variable,value,explanation,type) VALUES ('OPACEnhancedMessagingPreferences', '1', NULL, 'If ON, show patrons messaging setting on the OPAC.', 'YesNo')");
8619
    print "Upgrade to $DBversion done (Bug 12528 - Enable staff to deny message setting access to patrons on the OPAC)\n";
8620
    SetVersion($DBversion);
8621
}
8622
8616
=head1 FUNCTIONS
8623
=head1 FUNCTIONS
8617
8624
8618
=head2 TableExists($table)
8625
=head2 TableExists($table)
8619
- 

Return to bug 12528