From a768722232958a140b33f75f85d08d17664b1b52 Mon Sep 17 00:00:00 2001 From: Christian Binder Date: Mon, 16 Nov 2009 16:44:34 +0000 Subject: [PATCH] removed unnecessary error logging --- notifications/inc/class.notifications.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/notifications/inc/class.notifications.inc.php b/notifications/inc/class.notifications.inc.php index 050c7b90ca..1afe71f1af 100644 --- a/notifications/inc/class.notifications.inc.php +++ b/notifications/inc/class.notifications.inc.php @@ -394,12 +394,12 @@ final class notifications { continue; } // all backends failed - give error message - if(!$user_notified) { + /*if(!$user_notified) { error_log('Error: notification of receiver '.$receiver->handle.' failed for the following reasons:'); foreach($backend_errors as $id=>$backend_error) { error_log($backend_error); } - } + }*/ break; // stop running through chain } // backend sucseeded @@ -408,7 +408,7 @@ final class notifications { } } catch (Exception $exception_user) { - error_log('Error: notification of receiver '.$receiver->handle.' failed: '.$exception_user->getMessage()); + //error_log('Error: notification of receiver '.$receiver->handle.' failed: '.$exception_user->getMessage()); } } return true;