From 6eab77b15ffb1dbf06e3730fe0cc7d94c93a0bd9 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 19 Nov 2009 11:38:37 +0000 Subject: [PATCH] "commented permanent error_log in async_notifications, as it creates mail to root when async service is run via cron" --- infolog/inc/class.infolog_bo.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/infolog/inc/class.infolog_bo.inc.php b/infolog/inc/class.infolog_bo.inc.php index fb91e22330..37c4af5c62 100644 --- a/infolog/inc/class.infolog_bo.inc.php +++ b/infolog/inc/class.infolog_bo.inc.php @@ -1180,7 +1180,7 @@ class infolog_bo { return; } - error_log("boinfolog::async_notification() users with open entries: ".implode(', ',$users)); + //error_log(__METHOD__."() users with open entries: ".implode(', ',$users)); $save_account_id = $GLOBALS['egw_info']['user']['account_id']; $save_prefs = $GLOBALS['egw_info']['user']['preferences']; @@ -1207,7 +1207,7 @@ class infolog_bo if (!($pref_value = $GLOBALS['egw_info']['user']['preferences']['infolog'][$pref])) continue; $filter .= date('Y-m-d',time()+24*60*60*(int)$pref_value); - error_log("boinfolog::async_notification() checking with filter '$filter' ($pref_value) for user $user ($email)"); + //error_log(__METHOD__."() checking with filter '$filter' ($pref_value) for user $user ($email)"); $params = array('filter' => $filter); foreach($this->so->search($params) as $info) @@ -1239,7 +1239,7 @@ class infolog_bo $this->tracking->datetime($info['info_startdate']-$this->tz_offset_s,null)); break; } - error_log("notifiying $user($email) about $info[info_subject]: $info[message]"); + //error_log("notifiying $user($email) about $info[info_subject]: $info[message]"); $this->tracking->send_notification($info,null,$email,$user,$pref); $notified_info_ids[] = $info['info_id'];