From 56589cc6b729ecdf34f9d8524f534e71d1b0c293 Mon Sep 17 00:00:00 2001 From: Andrew Isherwood Date: Mon, 18 Feb 2019 10:55:54 +0000 Subject: [PATCH] Bug 20750: (follow-up) Set logging default off As per comment #72 here: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20750#c72 --- installer/data/mysql/atomicupdate/bug_20750-add_illlog_preference.perl | 2 +- installer/data/mysql/sysprefs.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/data/mysql/atomicupdate/bug_20750-add_illlog_preference.perl b/installer/data/mysql/atomicupdate/bug_20750-add_illlog_preference.perl index b3317ee254..75838f9be2 100644 --- a/installer/data/mysql/atomicupdate/bug_20750-add_illlog_preference.perl +++ b/installer/data/mysql/atomicupdate/bug_20750-add_illlog_preference.perl @@ -1,6 +1,6 @@ $DBversion = 'XXX'; # will be replaced by the RM if( CheckVersion( $DBversion ) ) { - $dbh->do( "INSERT IGNORE INTO systempreferences (variable, value, explanation, type) VALUES ('IllLog', 1, 'If ON, log information about ILL requests', 'YesNo')" ); + $dbh->do( "INSERT IGNORE INTO systempreferences (variable, value, explanation, type) VALUES ('IllLog', 0, 'If ON, log information about ILL requests', 'YesNo')" ); SetVersion( $DBversion ); print "Upgrade to $DBversion done (Bug 20750 - Allow timestamped auditing of ILL request events)\n"; diff --git a/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql index 470e4cb2ae..1510a197ea 100644 --- a/installer/data/mysql/sysprefs.sql +++ b/installer/data/mysql/sysprefs.sql @@ -216,7 +216,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` ('IDreamBooksResults','0','','Display IDreamBooks.com rating in search results','YesNo'), ('IDreamBooksReviews','0','','Display book review snippets from IDreamBooks.com','YesNo'), ('IdRef','0','','Disable/enable the IdRef webservice from the OPAC detail page.','YesNo'), -('IllLog', 1, '', 'If ON, log information about ILL requests', 'YesNo'), +('IllLog', 0, '', 'If ON, log information about ILL requests', 'YesNo'), ('ILLModule','0','If ON, enables the interlibrary loans module.','','YesNo'), ('ILLModuleCopyrightClearance','','70|10','Enter text to enable the copyright clearance stage of request creation. Text will be displayed','Textarea'), ('ILLOpacbackends',NULL,NULL,'ILL backends to enabled for OPAC initiated requests','multiple'), -- 2.11.0