Remove an unnecessary saveSessionData applied into get_rows

This commit is contained in:
Hadi Nategh 2017-02-27 17:45:46 +01:00
parent d6590cbf64
commit 9e8642b2fa

View File

@ -1354,7 +1354,6 @@ class mail_ui
$mail_ui->mail_bo->restoreSessionData();
if (isset($query['selectedFolder'])) $mail_ui->mail_bo->sessionData['mailbox']=$query['selectedFolder'];
$mail_ui->mail_bo->saveSessionData();
$sRToFetch = null;
list($_profileID,$_folderName) = explode(self::$delimiter,$query['selectedFolder'],2);
@ -3710,6 +3709,7 @@ $filter['before']= date("d-M-Y", $cutoffdate2);
}
catch (Exception $e)
{
if (Mail::$debug) error_log(__METHOD__,' ()'.$e->getMessage ());
continue;
}
if (in_array($fS['shortDisplayName'],Mail::$autoFolders)) $fS['shortDisplayName']=lang($fS['shortDisplayName']);