diff options
Diffstat (limited to 'engine/lib/notification.php')
-rw-r--r-- | engine/lib/notification.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engine/lib/notification.php b/engine/lib/notification.php index 6284e874d..ad65455f3 100644 --- a/engine/lib/notification.php +++ b/engine/lib/notification.php @@ -109,9 +109,7 @@ function notify_user($to, $from, $subject, $message, array $params = NULL, $meth error_log(sprintf(elgg_echo('NotificationException:NoHandlerFound'), $method)); } - if ($CONFIG->debug) { - error_log("Sending message to $guid using $method"); - } + elgg_log("Sending message to $guid using $method"); // Trigger handler and retrieve result. try { |