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.
This commit is contained in:
Hadi Nategh 2014-08-11 13:53:06 +00:00
parent c9069a7386
commit e40065917b

View File

@ -1584,9 +1584,7 @@ class mail_ui
//error_log(__METHOD__.__LINE__.' unlock tree ->'.$_GET['menuaction']); //error_log(__METHOD__.__LINE__.' unlock tree ->'.$_GET['menuaction']);
$response->call('app.mail.unlock_tree'); $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) if (is_array($sR) && count($sR)>0)
{ {
foreach ((array)$sR as $key => $v) foreach ((array)$sR as $key => $v)