From e40065917b4e04c27915cfaf617c41830fc04581 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 11 Aug 2014 13:53:06 +0000 Subject: [PATCH] Backport commit r48008, committed by Nathan Gray. Remove extra call to refresh vacation & quota, it is already done when changing folder which should be often enough. --- mail/inc/class.mail_ui.inc.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mail/inc/class.mail_ui.inc.php b/mail/inc/class.mail_ui.inc.php index 2d895d77c4..8ecf2029f7 100644 --- a/mail/inc/class.mail_ui.inc.php +++ b/mail/inc/class.mail_ui.inc.php @@ -1584,9 +1584,7 @@ class mail_ui //error_log(__METHOD__.__LINE__.' unlock tree ->'.$_GET['menuaction']); $response->call('app.mail.unlock_tree'); } - // done asynchronously initiating a client->server roundtrip to save time on the initial call - $response->call('app.mail.mail_callRefreshVacationNotice',$this->mail_bo->profileID); - $response->call('app.mail.mail_refreshQuotaDisplay',$this->mail_bo->profileID); + if (is_array($sR) && count($sR)>0) { foreach ((array)$sR as $key => $v)