Set the IMAP Server ID for Cached SieveError

This commit is contained in:
Klaus Leithoff 2012-01-02 16:42:39 +00:00
parent a780e5a1f1
commit a3e5f9d371

View File

@ -68,6 +68,7 @@ class emailadmin_sieve extends Net_Sieve
function _connect($_icServer,$euser='')
{
static $isConError;
$_icServerID = $_icServer->ImapServerId;
if (is_null($isConError)) $isConError =& egw_cache::getCache(egw_cache::INSTANCE,'email','icServerSIEVE_connectionError'.trim($GLOBALS['egw_info']['user']['account_id']),$callback=null,$callback_params=array(),$expiration=60*15);
if ( isset($isConError[$_icServerID]) )
{