From 2694304861e87269dbecfb2bfb70e721efcb2654 Mon Sep 17 00:00:00 2001 From: Jitendra Purohit Date: Thu, 25 Oct 2018 16:50:02 +0530 Subject: [PATCH] dev/core#474 - Show missing log table warning only if logging is enabled --- CRM/Utils/Check/Component/Schema.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/Check/Component/Schema.php b/CRM/Utils/Check/Component/Schema.php index 1340865a5b..20617e81a2 100644 --- a/CRM/Utils/Check/Component/Schema.php +++ b/CRM/Utils/Check/Component/Schema.php @@ -82,7 +82,7 @@ class CRM_Utils_Check_Component_Schema extends CRM_Utils_Check_Component { $logging = new CRM_Logging_Schema(); $missingLogTables = $logging->getMissingLogTables(); - if ($missingLogTables) { + if (Civi::settings()->get('logging') && $missingLogTables) { $msg = new CRM_Utils_Check_Message( __FUNCTION__, ts("You don't have logging enabled on some tables. This may cause errors on performing insert/update operation on them."), -- 2.25.1