From 0f115968663d294006b3dae821eaef9d051bbd4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cornelius=20Wei=C3=9F?= Date: Sun, 11 Feb 2007 07:48:44 +0000 Subject: [PATCH] remove forgotten debug message --- notifications/inc/class.notification.inc.php | 2 +- notifications/inc/class.notification_popup.inc.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/notifications/inc/class.notification.inc.php b/notifications/inc/class.notification.inc.php index e667f17c49..1ecda43efc 100644 --- a/notifications/inc/class.notification.inc.php +++ b/notifications/inc/class.notification.inc.php @@ -97,7 +97,7 @@ final class notification { } catch (Exception $exception) { $send_succseed--; - echo $exception->getMessage(), "\n"; + //echo $exception->getMessage(), "\n"; } } diff --git a/notifications/inc/class.notification_popup.inc.php b/notifications/inc/class.notification_popup.inc.php index 0628cc9ba5..9b458dc585 100644 --- a/notifications/inc/class.notification_popup.inc.php +++ b/notifications/inc/class.notification_popup.inc.php @@ -94,7 +94,7 @@ class notification_popup implements iface_notification { $user_sessions[] = $session['session_id']; } } - if ( empty($user_sessions) ) throw new Exception("Notice: User isn't online. Can't send notification via popup"); + if ( empty($user_sessions) ) throw new Exception("Notice: User $this->account isn't online. Can't send notification via popup"); $this->save( $_message, $user_sessions ); }