diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2023-08-18 13:21:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-18 13:21:12 +0200 |
commit | ae6b34feda93855d48783462ca1220fd9bdacd9a (patch) | |
tree | 92527c7da18b420465bb3355bcc0498069277799 /apps/settings | |
parent | 1d2c975159612f109df90289cc95ca32c7e2b024 (diff) | |
parent | 361d8f2742cbe1c542211b95f3c828722535ad1a (diff) | |
download | nextcloud-server-ae6b34feda93855d48783462ca1220fd9bdacd9a.tar.gz nextcloud-server-ae6b34feda93855d48783462ca1220fd9bdacd9a.zip |
Merge pull request #39948 from nextcloud/backport/39910/stable26
[stable26] fix(memcache): Fix comparison of Memcache configs to classes
Diffstat (limited to 'apps/settings')
-rw-r--r-- | apps/settings/lib/Controller/CheckSetupController.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/settings/lib/Controller/CheckSetupController.php b/apps/settings/lib/Controller/CheckSetupController.php index aee99310b6a..eda0048ae72 100644 --- a/apps/settings/lib/Controller/CheckSetupController.php +++ b/apps/settings/lib/Controller/CheckSetupController.php @@ -381,7 +381,8 @@ class CheckSetupController extends Controller { * @return bool */ private function isCorrectMemcachedPHPModuleInstalled() { - if ($this->config->getSystemValue('memcache.distributed', null) !== '\OC\Memcache\Memcached') { + $memcacheDistributedClass = $this->config->getSystemValue('memcache.distributed', null); + if ($memcacheDistributedClass === null || ltrim($memcacheDistributedClass, '\\') !== \OC\Memcache\Memcached::class) { return true; } |