Skip to content

Commit

Permalink
Fix console application booting namespace mapper
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonge committed Sep 12, 2019
1 parent 21c74a1 commit 0f386c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libraries/src/Application/ConsoleApplication.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,6 @@ public function __construct(
$this->setDispatcher($dispatcher);
}

// Load extension namespaces
$this->createExtensionNamespaceMap();

// Set the execution datetime and timestamp;
$this->set('execution.datetime', gmdate('Y-m-d H:i:s'));
$this->set('execution.timestamp', time());
Expand Down Expand Up @@ -162,6 +159,9 @@ protected function doExecute(): int
*/
public function execute()
{
// Load extension namespaces
$this->createExtensionNamespaceMap();

// Import CMS plugin groups to be able to subscribe to events
PluginHelper::importPlugin('system');
PluginHelper::importPlugin('console');
Expand Down

0 comments on commit 0f386c7

Please sign in to comment.