diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2019-01-01 17:01:46 +0100 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2019-01-02 10:46:14 +0100 |
commit | 248e824f48c50e2334875766cf90d4973dbb084a (patch) | |
tree | 52bf01ee5d6f6637da4bb392661e7b47a0ee9715 /settings/Controller | |
parent | d2bc85728d6d3c1a790d3eb80a1b27c01c7c2132 (diff) | |
download | nextcloud-server-248e824f48c50e2334875766cf90d4973dbb084a.tar.gz nextcloud-server-248e824f48c50e2334875766cf90d4973dbb084a.zip |
Remove check for outdated caches
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'settings/Controller')
-rw-r--r-- | settings/Controller/CheckSetupController.php | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/settings/Controller/CheckSetupController.php b/settings/Controller/CheckSetupController.php index 92c2b1b47db..d21874e025d 100644 --- a/settings/Controller/CheckSetupController.php +++ b/settings/Controller/CheckSetupController.php @@ -448,25 +448,6 @@ Raw output return $indexInfo->getListOfMissingIndexes(); } - /** - * warn if outdated version of a memcache module is used - */ - protected function getOutdatedCaches(): array { - $caches = [ - 'apcu' => ['name' => 'APCu', 'version' => '4.0.6'], - 'redis' => ['name' => 'Redis', 'version' => '2.2.5'], - ]; - $outdatedCaches = []; - foreach ($caches as $php_module => $data) { - $isOutdated = extension_loaded($php_module) && version_compare(phpversion($php_module), $data['version'], '<'); - if ($isOutdated) { - $outdatedCaches[] = $data; - } - } - - return $outdatedCaches; - } - protected function isSqliteUsed() { return strpos($this->config->getSystemValue('dbtype'), 'sqlite') !== false; } @@ -647,7 +628,6 @@ Raw output 'isGetenvServerWorking' => !empty(getenv('PATH')), 'isReadOnlyConfig' => $this->isReadOnlyConfig(), 'hasValidTransactionIsolationLevel' => $this->hasValidTransactionIsolationLevel(), - 'outdatedCaches' => $this->getOutdatedCaches(), 'hasFileinfoInstalled' => $this->hasFileinfoInstalled(), 'hasWorkingFileLocking' => $this->hasWorkingFileLocking(), 'suggestedOverwriteCliURL' => $this->getSuggestedOverwriteCliURL(), |