From fe3f2cb11c5bd207c099aecaad2d58ba5be5cc57 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 19 Nov 2009 11:39:22 +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 1503c38080..d14ed874e5 100644 --- a/infolog/inc/class.infolog_bo.inc.php +++ b/infolog/inc/class.infolog_bo.inc.php @@ -1137,7 +1137,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']; @@ -1164,7 +1164,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) @@ -1196,7 +1196,7 @@ class infolog_bo $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]"); $tracking->send_notification($info,null,$email,$user,$pref); $notified_info_ids[] = $info['info_id'];