Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiosmosis <benaka@piwik.pro>2014-10-02 13:15:00 +0400
committerdiosmosis <benaka@piwik.pro>2014-10-02 13:15:00 +0400
commit699f9cd8bd84ee53c8b4e65e948052dbd8858d10 (patch)
tree849bc2781baf1ce9091505e954f001768b281668 /core/Console.php
parent131b401668238acdd18ca9fb6be1290d80c5bcc1 (diff)
Fixing build for PHP 5.3.
Diffstat (limited to 'core/Console.php')
-rw-r--r--core/Console.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/Console.php b/core/Console.php
index 9f1ef79a41..423c06d771 100644
--- a/core/Console.php
+++ b/core/Console.php
@@ -55,8 +55,9 @@ class Console extends Application
$this->addCommandIfExists($command);
}
- return Access::doAsSuperUser(function () use ($input, $output) {
- return Application::doRun($input, $output);
+ $self = $this;
+ return Access::doAsSuperUser(function () use ($input, $output, $self) {
+ return call_user_func(array($self, 'Symfony\Component\Console\Application::doRun'), $input, $output);
});
}