X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FError.php;h=dce8a2e01d6b5dc8803779422505d3d48a6c2b54;hb=077670fbc9f9e7caf11a62b5cb97e690d18e4794;hp=f11d4ba618854b1c090c83970df440c5284c2283;hpb=4014394ebf74035cc7cc8bee5b37e8057f2c96b2;p=civicrm-core.git 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); }