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-01-09 10:48:58 +0400
committermattab <matthieu.aubry@gmail.com>2014-01-09 10:48:58 +0400
commitb6083535edafbc0f4c4f5a9d0223aee7a1bea053 (patch)
treea7aa7473dc0c0ddbc08a9dcca88391b1cc2f2091
parente26c7511e09637c811b75a56d94eadee008590fb (diff)
Minor refactor
-rw-r--r--plugins/Installation/Controller.php12
1 files changed, 11 insertions, 1 deletions
diff --git a/plugins/Installation/Controller.php b/plugins/Installation/Controller.php
index c81c806bb5..4990283243 100644
--- a/plugins/Installation/Controller.php
+++ b/plugins/Installation/Controller.php
@@ -883,7 +883,18 @@ class Controller extends \Piwik\Plugin\ControllerAdmin
// check if filesystem is NFS, if it is file based sessions won't work properly
$infos['is_nfs'] = Filesystem::checkIfFileSystemIsNFS();
+ $infos = self::enrichSystemChecks($infos);
+ return $infos;
+ }
+
+
+ /**
+ * @param $infos
+ * @return mixed
+ */
+ public static function enrichSystemChecks($infos)
+ {
// determine whether there are any errors/warnings from the checks done above
$infos['has_errors'] = false;
$infos['has_warnings'] = false;
@@ -909,7 +920,6 @@ class Controller extends \Piwik\Plugin\ControllerAdmin
) {
$infos['has_warnings'] = true;
}
-
return $infos;
}