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

(-)a/installer/data/mysql/atomicupdate/bug_20750-add_illlog_preference.perl (-1 / +1 lines)
Lines 1-6 Link Here
1
$DBversion = 'XXX';  # will be replaced by the RM
1
$DBversion = 'XXX';  # will be replaced by the RM
2
if( CheckVersion( $DBversion ) ) {
2
if( CheckVersion( $DBversion ) ) {
3
    $dbh->do( "INSERT IGNORE INTO systempreferences (variable, value, explanation, type) VALUES ('IllLog', 1, 'If ON, log information about ILL requests', 'YesNo')" );
3
    $dbh->do( "INSERT IGNORE INTO systempreferences (variable, value, explanation, type) VALUES ('IllLog', 0, 'If ON, log information about ILL requests', 'YesNo')" );
4
4
5
    SetVersion( $DBversion );
5
    SetVersion( $DBversion );
6
    print "Upgrade to $DBversion done (Bug 20750 - Allow timestamped auditing of ILL request events)\n";
6
    print "Upgrade to $DBversion done (Bug 20750 - Allow timestamped auditing of ILL request events)\n";
(-)a/installer/data/mysql/sysprefs.sql (-2 / +1 lines)
Lines 216-222 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
216
('IDreamBooksResults','0','','Display IDreamBooks.com rating in search results','YesNo'),
216
('IDreamBooksResults','0','','Display IDreamBooks.com rating in search results','YesNo'),
217
('IDreamBooksReviews','0','','Display book review snippets from IDreamBooks.com','YesNo'),
217
('IDreamBooksReviews','0','','Display book review snippets from IDreamBooks.com','YesNo'),
218
('IdRef','0','','Disable/enable the IdRef webservice from the OPAC detail page.','YesNo'),
218
('IdRef','0','','Disable/enable the IdRef webservice from the OPAC detail page.','YesNo'),
219
('IllLog', 1, '', 'If ON, log information about ILL requests', 'YesNo'),
219
('IllLog', 0, '', 'If ON, log information about ILL requests', 'YesNo'),
220
('ILLModule','0','If ON, enables the interlibrary loans module.','','YesNo'),
220
('ILLModule','0','If ON, enables the interlibrary loans module.','','YesNo'),
221
('ILLModuleCopyrightClearance','','70|10','Enter text to enable the copyright clearance stage of request creation. Text will be displayed','Textarea'),
221
('ILLModuleCopyrightClearance','','70|10','Enter text to enable the copyright clearance stage of request creation. Text will be displayed','Textarea'),
222
('ILLOpacbackends',NULL,NULL,'ILL backends to enabled for OPAC initiated requests','multiple'),
222
('ILLOpacbackends',NULL,NULL,'ILL backends to enabled for OPAC initiated requests','multiple'),
223
- 

Return to bug 20750