Skip to content

Commit

Permalink
Added docs (#3108)
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm authored and kodiakhq[bot] committed Jan 5, 2020
1 parent 1cc8bdb commit d87451b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions redaxo/src/core/lib/console/application.php
Expand Up @@ -59,12 +59,15 @@ private function loadPackages(rex_console_command $command)
}

if ('ydeploy:migrate' === $command->getName()) {
// boot only the ydeploy package, which provides the migrate command
$command->getPackage()->boot();

return;
}

if (!rex::isSetup()) {
// boot all known packages in the defined order
// which reflects dependencies before consumers
foreach (rex::getConfig('package-order') as $packageId) {
rex_package::get($packageId)->boot();
}
Expand Down

0 comments on commit d87451b

Please sign in to comment.