Code Duplication    Length = 4-4 lines in 2 locations

mail/inc/class.mail_ui.inc.php 2 locations

@@ 4573-4576 (lines=4) @@
4570
						!($flag2check==$query['filter'] || stripos($query['filter'],$flag2check)!==false))
4571
					{
4572
						$filter2toggle['status'] = array('un'.$_flag);
4573
						if ($query['filter'] && $query['filter']!='any')
4574
						{
4575
							$filter2toggle['status'][] = $query['filter'];
4576
						}
4577
						$rByUid = true;
4578
						$reverse = 1;
4579
						$_sRt = $this->mail_bo->getSortedList(
@@ 4589-4592 (lines=4) @@
4586
						);
4587
						$messageListForToggle = $_sRt['match']->ids;
4588
						$filter['status'] = array($_flag);
4589
						if ($query['filter'] && $query['filter'] !='any')
4590
						{
4591
							$filter['status'][] = $query['filter'];
4592
						}
4593
						$rByUid=true;
4594
						$reverse = 1;
4595
						$_sR = $this->mail_bo->getSortedList(