|
@@ 1544-1549 (lines=6) @@
|
| 1541 |
|
// then adding any callbacks that wanted to attach after a given step |
| 1542 |
|
foreach ( $coreInstallSteps as $step ) { |
| 1543 |
|
$this->installSteps[] = $step; |
| 1544 |
|
if ( isset( $this->extraInstallSteps[$step['name']] ) ) { |
| 1545 |
|
$this->installSteps = array_merge( |
| 1546 |
|
$this->installSteps, |
| 1547 |
|
$this->extraInstallSteps[$step['name']] |
| 1548 |
|
); |
| 1549 |
|
} |
| 1550 |
|
} |
| 1551 |
|
|
| 1552 |
|
// Prepend any steps that want to be at the beginning |
|
@@ 1553-1558 (lines=6) @@
|
| 1550 |
|
} |
| 1551 |
|
|
| 1552 |
|
// Prepend any steps that want to be at the beginning |
| 1553 |
|
if ( isset( $this->extraInstallSteps['BEGINNING'] ) ) { |
| 1554 |
|
$this->installSteps = array_merge( |
| 1555 |
|
$this->extraInstallSteps['BEGINNING'], |
| 1556 |
|
$this->installSteps |
| 1557 |
|
); |
| 1558 |
|
} |
| 1559 |
|
|
| 1560 |
|
// Extensions should always go first, chance to tie into hooks and such |
| 1561 |
|
if ( count( $this->getVar( '_Extensions' ) ) ) { |