diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-01-04 09:18:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-04 09:18:31 +0100 |
commit | 2d22633568ce2cc6e3246a61d265852b793642c8 (patch) | |
tree | 2b354d7125cef7608de661f6f68e0d43958a8408 /settings | |
parent | a1f9ed1d7d9e953833850a14405687e115bf0b82 (diff) | |
parent | 248e824f48c50e2334875766cf90d4973dbb084a (diff) | |
download | nextcloud-server-2d22633568ce2cc6e3246a61d265852b793642c8.tar.gz nextcloud-server-2d22633568ce2cc6e3246a61d265852b793642c8.zip |
Merge pull request #13313 from nextcloud/feature/remove-outdated-caches
Remove check for outdated caches
Diffstat (limited to 'settings')
-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(), |