Code Duplication    Length = 4-4 lines in 2 locations

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

@@ 4697-4700 (lines=4) @@
4694
						!($flag2check==$query['filter'] || stripos($query['filter'],$flag2check)!==false))
4695
					{
4696
						$filter2toggle['status'] = array('un'.$_flag);
4697
						if ($query['filter'] && $query['filter']!='any')
4698
						{
4699
							$filter2toggle['status'][] = $query['filter'];
4700
						}
4701
						$rByUid = true;
4702
						$reverse = 1;
4703
						$_sRt = $this->mail_bo->getSortedList(
@@ 4713-4716 (lines=4) @@
4710
						);
4711
						$messageListForToggle = $_sRt['match']->ids;
4712
						$filter['status'] = array($_flag);
4713
						if ($query['filter'] && $query['filter'] !='any')
4714
						{
4715
							$filter['status'][] = $query['filter'];
4716
						}
4717
						$rByUid=true;
4718
						$reverse = 1;
4719
						$_sR = $this->mail_bo->getSortedList(