Code Duplication    Length = 4-4 lines in 2 locations

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

@@ 4707-4710 (lines=4) @@
4704
						!($flag2check==$query['filter'] || stripos($query['filter'],$flag2check)!==false))
4705
					{
4706
						$filter2toggle['status'] = array('un'.$_flag);
4707
						if ($query['filter'] && $query['filter']!='any')
4708
						{
4709
							$filter2toggle['status'][] = $query['filter'];
4710
						}
4711
						$rByUid = true;
4712
						$reverse = 1;
4713
						$_sRt = $this->mail_bo->getSortedList(
@@ 4723-4726 (lines=4) @@
4720
						);
4721
						$messageListForToggle = $_sRt['match']->ids;
4722
						$filter['status'] = array($_flag);
4723
						if ($query['filter'] && $query['filter'] !='any')
4724
						{
4725
							$filter['status'][] = $query['filter'];
4726
						}
4727
						$rByUid=true;
4728
						$reverse = 1;
4729
						$_sR = $this->mail_bo->getSortedList(