mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-06 05:59:15 +01:00
clear vacationNotice cache on unsetCachedObjects; wrong param count for setCache
This commit is contained in:
parent
f06639f155
commit
c8d15f7474
@ -503,7 +503,7 @@ class emailadmin_imapbase
|
|||||||
unset($eMailListContainsDeletedMessages[$_profileID]);
|
unset($eMailListContainsDeletedMessages[$_profileID]);
|
||||||
egw_cache::setCache(egw_cache::INSTANCE,'email','eMailListContainsDeletedMessages'.trim($account_id),$eMailListContainsDeletedMessages, $expiration=60*60*1);
|
egw_cache::setCache(egw_cache::INSTANCE,'email','eMailListContainsDeletedMessages'.trim($account_id),$eMailListContainsDeletedMessages, $expiration=60*60*1);
|
||||||
}
|
}
|
||||||
$vacationCached = egw_cache::getCache(egw_cache::INSTANCE, 'email', 'vacationNotice'.trim($account_id),null,$expiration=60*60*24*1);
|
$vacationCached = egw_cache::getCache(egw_cache::INSTANCE, 'email', 'vacationNotice'.trim($account_id),$callback=null,$callback_params=array(),$expiration=60*60*24*1);
|
||||||
if (isset($vacationCached[$_profileID]))
|
if (isset($vacationCached[$_profileID]))
|
||||||
{
|
{
|
||||||
unset($vacationCached[$_profileID]);
|
unset($vacationCached[$_profileID]);
|
||||||
|
Loading…
Reference in New Issue
Block a user