Fix IDE warnings

This commit is contained in:
Hadi Nategh 2017-03-07 15:20:11 +01:00
parent c3e19a14e9
commit eba4ce0549

View File

@ -3810,7 +3810,7 @@ $filter['before']= date("d-M-Y", $cutoffdate2);
} }
if (!empty($new)) $this->mail_bo->reopen($new); if (!empty($new)) $this->mail_bo->reopen($new);
} }
$response = Api\Json\Response::get(); $response = Api\Json\Response::get();
if ($created===true && $error =='') if ($created===true && $error =='')
{ {
@ -4726,14 +4726,12 @@ $filter['before']= date("d-M-Y", $cutoffdate2);
{ {
$filter2toggle['status'][] = $query['filter']; $filter2toggle['status'][] = $query['filter'];
} }
$rByUid = true;
$reverse = 1;
$_sRt = $this->mail_bo->getSortedList( $_sRt = $this->mail_bo->getSortedList(
$folder, $folder,
$sort=0, $sort = 0,
$reverse, $reverse = 1,
$filter2toggle, $filter2toggle,
$rByUid, $rByUid = true,
false false
); );
$messageListForToggle = $_sRt['match']->ids; $messageListForToggle = $_sRt['match']->ids;
@ -4742,14 +4740,12 @@ $filter['before']= date("d-M-Y", $cutoffdate2);
{ {
$filter['status'][] = $query['filter']; $filter['status'][] = $query['filter'];
} }
$rByUid=true;
$reverse = 1;
$_sR = $this->mail_bo->getSortedList( $_sR = $this->mail_bo->getSortedList(
$folder, $folder,
$sort=0, $sort = 0,
$reverse, $reverse = 1,
$filter, $filter,
$rByUid, $rByUid = true,
false false
); );
$messageList = $_sR['match']->ids; $messageList = $_sR['match']->ids;