Eileen has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/297736

Change subject: Post upgrade logging tab isn't showing.
......................................................................

Post upgrade logging tab isn't showing.

I think the problem is the  method (now deprecated) for getting this info is 
not working well now

Change-Id: Iad3da7cd79f457d435406d04eb49590920d75eec
---
M CRM/Core/BAO/Log.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/crm/civicrm 
refs/changes/36/297736/1

diff --git a/CRM/Core/BAO/Log.php b/CRM/Core/BAO/Log.php
index 8e669e9..b1bd5a4 100644
--- a/CRM/Core/BAO/Log.php
+++ b/CRM/Core/BAO/Log.php
@@ -175,7 +175,7 @@
   public static function useLoggingReport() {
     // first check if logging is enabled
     $config = CRM_Core_Config::singleton();
-    if (!$config->logging) {
+    if (!Civi::settings()->get('logging')) {
       return FALSE;
     }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/297736
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iad3da7cd79f457d435406d04eb49590920d75eec
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/crm/civicrm
Gerrit-Branch: master
Gerrit-Owner: Eileen <emcnaugh...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to