From bacf0c033033dfa47c34f020a4bba00b408a4d81 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Mon, 26 Aug 2013 14:19:21 +0000 Subject: [PATCH] allow unsetting cachedObjects for tracker mailhandler --- emailadmin/inc/class.emailadmin_bo.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emailadmin/inc/class.emailadmin_bo.inc.php b/emailadmin/inc/class.emailadmin_bo.inc.php index 6bf15f18a7..597f4e4c1e 100644 --- a/emailadmin/inc/class.emailadmin_bo.inc.php +++ b/emailadmin/inc/class.emailadmin_bo.inc.php @@ -479,7 +479,7 @@ class emailadmin_bo extends so_sql { if (is_null($_profileID)) $_profileID = self::getUserDefaultProfileID(); //error_log(__METHOD__.__LINE__.' called with ProfileID:'.$_profileID.' from '.function_backtrace()); - if (!is_array($_profileID) && is_numeric($_profileID)) + if (!is_array($_profileID) && (is_numeric($_profileID) || !(stripos($_profileID,'tracker_')===false))) { felamimail_bo::resetConnectionErrorCache($_profileID); $structure = egw_cache::getCache(egw_cache::INSTANCE,'email','structureCache'.trim($GLOBALS['egw_info']['user']['account_id']),$callback=null,$callback_params=array(),$expiration=60*60*1);