mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-08 06:59:46 +01:00
do not access cache for writing, if there is nothing new to set
This commit is contained in:
parent
b07aee1ae0
commit
6ab8d2b86b
@ -364,8 +364,11 @@ class felamimail_activesync implements activesync_plugin_write, activesync_plugi
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$waitOnFailure[self::$profileID][$this->backend->_devid] = array();
|
if (!empty($waitOnFailure[self::$profileID][$this->backend->_devid]))
|
||||||
egw_cache::setCache(egw_cache::INSTANCE,'email','ActiveSyncWaitOnFailure'.trim($GLOBALS['egw_info']['user']['account_id']),$waitOnFailure,$expiration=60*60*2);
|
{
|
||||||
|
$waitOnFailure[self::$profileID][$this->backend->_devid] = array();
|
||||||
|
egw_cache::setCache(egw_cache::INSTANCE,'email','ActiveSyncWaitOnFailure'.trim($GLOBALS['egw_info']['user']['account_id']),$waitOnFailure,$expiration=60*60*2);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
$this->_wasteID = $this->mail->getTrashFolder(false);
|
$this->_wasteID = $this->mail->getTrashFolder(false);
|
||||||
//error_log(__METHOD__.__LINE__.' TrashFolder:'.$this->_wasteID);
|
//error_log(__METHOD__.__LINE__.' TrashFolder:'.$this->_wasteID);
|
||||||
|
Loading…
Reference in New Issue
Block a user