diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-11-16 02:12:22 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-11-16 02:12:22 +0300 |
commit | 4e5610aba57e03d375e8671ec4d90788e8efc70c (patch) | |
tree | e7bdfb8e6df0f6c0d3b9e81294b01f2a28318486 /plugins | |
parent | 08c2f4bfb5bab3c122af4b908aa7a32d86650d3b (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')
-rw-r--r-- | plugins/Installation/Controller.php | 3 |
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; |