From 1fadd8917c6f77cfc8cb612946674583088219b6 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Mon, 23 Jun 2014 12:58:09 +1200 Subject: [PATCH] CRM-14850 add comment as to why change was backed out --- CRM/Core/Error.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Core/Error.php b/CRM/Core/Error.php index f11d4ba618..dce8a2e01d 100644 --- a/CRM/Core/Error.php +++ b/CRM/Core/Error.php @@ -591,6 +591,7 @@ class CRM_Core_Error extends PEAR_ErrorStack { $file_log->close(); if ($config->userFrameworkLogging) { + // should call $config->userSystem->logger($message) here - but I got a situation where userSystem was not an object - not sure why if ($config->userSystem->is_drupal and function_exists('watchdog')) { watchdog('civicrm', $message, NULL, WATCHDOG_DEBUG); } -- 2.25.1