Code Duplication    Length = 5-5 lines in 2 locations

Sources/Packages.php 2 locations

@@ 606-610 (lines=5) @@
603
					$theme_action = '';
604
605
				// So, we still want to do something?
606
				if ($theme_action != '')
607
					$themeFinds['candidates'][] = $action;
608
				// Otherwise is this is going into another theme record it.
609
				elseif ($matches[1] == 'themes_dir')
610
					$themeFinds['other_themes'][] = strtolower(strtr(parse_path($action['unparsed_destination']), array('\\' => '/')) . '/' . basename($action['filename']));
611
			}
612
		}
613
		elseif (in_array($action['type'], array('move-dir', 'move-file')))
@@ 641-645 (lines=5) @@
638
					$theme_action = '';
639
640
				// So, we still want to do something?
641
				if ($theme_action != '')
642
					$themeFinds['candidates'][] = $action;
643
				// Otherwise is this is going into another theme record it.
644
				elseif ($matches[1] == 'themes_dir')
645
					$themeFinds['other_themes'][] = strtolower(strtr(parse_path($action['unparsed_filename']), array('\\' => '/')) . '/' . basename($action['filename']));
646
			}
647
		}
648