diff --git a/src/Core/Console/Config.php b/src/Core/Console/Config.php index 9905e473c7..306e1c275e 100644 --- a/src/Core/Console/Config.php +++ b/src/Core/Console/Config.php @@ -79,6 +79,8 @@ HELP; protected function doExecute() { + $a = get_app(); + if ($this->getOption('v')) { $this->out('Executable: ' . $this->executable); $this->out('Class: ' . __CLASS__); diff --git a/src/Core/Console/DatabaseStructure.php b/src/Core/Console/DatabaseStructure.php index 4e64dc6121..eb4c6df998 100644 --- a/src/Core/Console/DatabaseStructure.php +++ b/src/Core/Console/DatabaseStructure.php @@ -39,6 +39,8 @@ HELP; protected function doExecute() { + $a = get_app(); + if ($this->getOption('v')) { $this->out('Class: ' . __CLASS__); $this->out('Arguments: ' . var_export($this->args, true)); diff --git a/src/Core/Console/GlobalCommunityBlock.php b/src/Core/Console/GlobalCommunityBlock.php index aebb0a2d7c..26c5d13131 100644 --- a/src/Core/Console/GlobalCommunityBlock.php +++ b/src/Core/Console/GlobalCommunityBlock.php @@ -39,6 +39,8 @@ HELP; protected function doExecute() { + $a = get_app(); + if ($this->getOption('v')) { $this->out('Class: ' . __CLASS__); $this->out('Arguments: ' . var_export($this->args, true)); diff --git a/src/Core/Console/GlobalCommunitySilence.php b/src/Core/Console/GlobalCommunitySilence.php index 958c445934..72d5a4f881 100644 --- a/src/Core/Console/GlobalCommunitySilence.php +++ b/src/Core/Console/GlobalCommunitySilence.php @@ -47,6 +47,8 @@ HELP; protected function doExecute() { + $a = get_app(); + if ($this->getOption('v')) { $this->out('Class: ' . __CLASS__); $this->out('Arguments: ' . var_export($this->args, true)); diff --git a/src/Core/Console/Maintenance.php b/src/Core/Console/Maintenance.php index cf0a468ff6..6638e4bfe1 100644 --- a/src/Core/Console/Maintenance.php +++ b/src/Core/Console/Maintenance.php @@ -47,6 +47,8 @@ HELP; protected function doExecute() { + $a = get_app(); + if ($this->getOption('v')) { $this->out('Class: ' . __CLASS__); $this->out('Arguments: ' . var_export($this->args, true));