From c8d15f7474347f6fa68dd901b071b0873876c237 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Fri, 8 Aug 2014 13:15:48 +0000 Subject: [PATCH] clear vacationNotice cache on unsetCachedObjects; wrong param count for setCache --- emailadmin/inc/class.emailadmin_imapbase.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emailadmin/inc/class.emailadmin_imapbase.inc.php b/emailadmin/inc/class.emailadmin_imapbase.inc.php index b9fa2b0d3e..38454ed228 100644 --- a/emailadmin/inc/class.emailadmin_imapbase.inc.php +++ b/emailadmin/inc/class.emailadmin_imapbase.inc.php @@ -503,7 +503,7 @@ class emailadmin_imapbase unset($eMailListContainsDeletedMessages[$_profileID]); 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])) { unset($vacationCached[$_profileID]);