|
@@ 4590-4595 (lines=6) @@
|
| 4587 |
|
false |
| 4588 |
|
); |
| 4589 |
|
$messageList = $_sR['match']->ids; |
| 4590 |
|
if (count($messageListForToggle)>0) |
| 4591 |
|
{ |
| 4592 |
|
$flag2set = (strtolower($_flag)); |
| 4593 |
|
if(Mail::$debug) error_log(__METHOD__.__LINE__." toggle un$_flag -> $flag2set ".array2string($filter2toggle).array2string($messageListForToggle)); |
| 4594 |
|
$this->mail_bo->flagMessages($flag2set, $messageListForToggle,$folder); |
| 4595 |
|
} |
| 4596 |
|
if (count($messageList)>0) |
| 4597 |
|
{ |
| 4598 |
|
$flag2set = 'un'.$_flag; |
|
@@ 4596-4601 (lines=6) @@
|
| 4593 |
|
if(Mail::$debug) error_log(__METHOD__.__LINE__." toggle un$_flag -> $flag2set ".array2string($filter2toggle).array2string($messageListForToggle)); |
| 4594 |
|
$this->mail_bo->flagMessages($flag2set, $messageListForToggle,$folder); |
| 4595 |
|
} |
| 4596 |
|
if (count($messageList)>0) |
| 4597 |
|
{ |
| 4598 |
|
$flag2set = 'un'.$_flag; |
| 4599 |
|
if(Mail::$debug) error_log(__METHOD__.__LINE__." $_flag -> $flag2set ".array2string($filter).array2string($messageList)); |
| 4600 |
|
$this->mail_bo->flagMessages($flag2set, $messageList,$folder); |
| 4601 |
|
} |
| 4602 |
|
$alreadyFlagged=true; |
| 4603 |
|
} |
| 4604 |
|
elseif (!empty($filter) && |