From 699f9cd8bd84ee53c8b4e65e948052dbd8858d10 Mon Sep 17 00:00:00 2001
From: diosmosis <benaka@piwik.pro>
Date: Thu, 2 Oct 2014 02:15:00 -0700
Subject: [PATCH] Fixing build for PHP 5.3.

---
 core/Console.php | 5 +++--
 1 file 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);
         });
     }
 
-- 
GitLab