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:
Diffstat (limited to 'plugins/Diagnostics/Diagnostic/PhpSettingsCheck.php')
-rw-r--r--plugins/Diagnostics/Diagnostic/PhpSettingsCheck.php17
1 files changed, 0 insertions, 17 deletions
diff --git a/plugins/Diagnostics/Diagnostic/PhpSettingsCheck.php b/plugins/Diagnostics/Diagnostic/PhpSettingsCheck.php
index 679167576e..da353a8256 100644
--- a/plugins/Diagnostics/Diagnostic/PhpSettingsCheck.php
+++ b/plugins/Diagnostics/Diagnostic/PhpSettingsCheck.php
@@ -62,23 +62,6 @@ class PhpSettingsCheck implements Diagnostic
$maxExecutionTime->setErrorResult(DiagnosticResult::STATUS_WARNING);
$requiredSettings[] = $maxExecutionTime;
- if ($this->isPhpVersionAtLeast56() && ! defined("HHVM_VERSION") && !$this->isPhpVersionAtLeast70()) {
- // always_populate_raw_post_data must be -1
- // removed in PHP 7
- $requiredSettings[] = new RequiredPhpSetting('always_populate_raw_post_data', -1);
- }
-
return $requiredSettings;
}
-
- private function isPhpVersionAtLeast56()
- {
- return version_compare(PHP_VERSION, '5.6', '>=');
- }
-
- private function isPhpVersionAtLeast70()
- {
- return version_compare(PHP_VERSION, '7.0.0-dev', '>=');
- }
-
}