projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #3567 from lcdservices/CRM-14921
[civicrm-core.git]
/
CRM
/
Core
/
Error.php
diff --git
a/CRM/Core/Error.php
b/CRM/Core/Error.php
index f11d4ba618854b1c090c83970df440c5284c2283..dce8a2e01d6b5dc8803779422505d3d48a6c2b54 100644
(file)
--- 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) {
$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);
}
if ($config->userSystem->is_drupal and function_exists('watchdog')) {
watchdog('civicrm', $message, NULL, WATCHDOG_DEBUG);
}