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:
authormattab <matthieu.aubry@gmail.com>2014-11-16 02:12:22 +0300
committermattab <matthieu.aubry@gmail.com>2014-11-16 02:12:22 +0300
commit4e5610aba57e03d375e8671ec4d90788e8efc70c (patch)
treee7bdfb8e6df0f6c0d3b9e81294b01f2a28318486 /plugins/Installation/Controller.php
parent08c2f4bfb5bab3c122af4b908aa7a32d86650d3b (diff)
fixes #6680 this must be a bug on some 5.3.x that private methods can't be called in closures
Diffstat (limited to 'plugins/Installation/Controller.php')
-rw-r--r--plugins/Installation/Controller.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Installation/Controller.php b/plugins/Installation/Controller.php
index a3c858f08c..0f44614a09 100644
--- a/plugins/Installation/Controller.php
+++ b/plugins/Installation/Controller.php
@@ -674,7 +674,8 @@ class Controller extends \Piwik\Plugin\ControllerAdmin
});
}
- private function hasEnoughTablesToReuseDb($tablesInstalled)
+ // should be private but there's a bug in php 5.3.6
+ public function hasEnoughTablesToReuseDb($tablesInstalled)
{
if (empty($tablesInstalled) || !is_array($tablesInstalled)) {
return false;