Code Duplication    Length = 6-6 lines in 2 locations

includes/installer/Installer.php 2 locations

@@ 1469-1474 (lines=6) @@
1466
		// then adding any callbacks that wanted to attach after a given step
1467
		foreach ( $coreInstallSteps as $step ) {
1468
			$this->installSteps[] = $step;
1469
			if ( isset( $this->extraInstallSteps[$step['name']] ) ) {
1470
				$this->installSteps = array_merge(
1471
					$this->installSteps,
1472
					$this->extraInstallSteps[$step['name']]
1473
				);
1474
			}
1475
		}
1476
1477
		// Prepend any steps that want to be at the beginning
@@ 1478-1483 (lines=6) @@
1475
		}
1476
1477
		// Prepend any steps that want to be at the beginning
1478
		if ( isset( $this->extraInstallSteps['BEGINNING'] ) ) {
1479
			$this->installSteps = array_merge(
1480
				$this->extraInstallSteps['BEGINNING'],
1481
				$this->installSteps
1482
			);
1483
		}
1484
1485
		// Extensions should always go first, chance to tie into hooks and such
1486
		if ( count( $this->getVar( '_Extensions' ) ) ) {