Remove extra call to refresh vacation & quota, it is already done when changing folder which should be often enough.

This commit is contained in:
Nathan Gray 2014-08-06 20:53:37 +00:00
parent 77c08a8cc4
commit f19666096e

View File

@ -1582,9 +1582,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)