mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-22 21:30:54 +01:00
Set the IMAP Server ID for Cached SieveError
This commit is contained in:
parent
a780e5a1f1
commit
a3e5f9d371
@ -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]) )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user