forked from extern/egroupware
Refresh Trash folder folder-status when empty Trash action is triggered not from the Trash folder
This commit is contained in:
parent
a3a6e92bf1
commit
176c1247dc
@ -4059,6 +4059,15 @@ class mail_ui
|
|||||||
$response->call('app.mail.lock_tree');
|
$response->call('app.mail.lock_tree');
|
||||||
}
|
}
|
||||||
$this->mail_bo->compressFolder($trashFolder);
|
$this->mail_bo->compressFolder($trashFolder);
|
||||||
|
|
||||||
|
$heirarchyDelimeter = $this->mail_bo->getHierarchyDelimiter(true);
|
||||||
|
$fShortName = array_pop(explode($heirarchyDelimeter, $trashFolder));
|
||||||
|
$fStatus = array(
|
||||||
|
$icServerID.self::$delimiter.$trashFolder => $fShortName
|
||||||
|
);
|
||||||
|
//Call to reset folder status counter, after emptyTrash triggered not from Trash folder
|
||||||
|
//-as we don't have trash folder specific information available on client-side we need to deal with it on server
|
||||||
|
$response->call('app.mail.mail_setFolderStatus',$fStatus);
|
||||||
}
|
}
|
||||||
if ($rememberServerID != $this->mail_bo->profileID)
|
if ($rememberServerID != $this->mail_bo->profileID)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user