diff options
author | kesselb <mail@danielkesselberg.de> | 2021-07-06 18:53:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-06 18:53:51 +0200 |
commit | 5e7206d23a33df21d23619fe61d29c809000cdb6 (patch) | |
tree | 2e93cc9c73481005adafe739c2112ef668191a60 | |
parent | 17e58f5056f9a0ef1620e6611091a2302fbfed14 (diff) | |
parent | 0304eea58d28a230a11b389f97d25250b901be35 (diff) | |
download | nextcloud-server-5e7206d23a33df21d23619fe61d29c809000cdb6.tar.gz nextcloud-server-5e7206d23a33df21d23619fe61d29c809000cdb6.zip |
Merge pull request #27818 from nextcloud/fix/locking-cache-check
Fix in locking cache check
-rw-r--r-- | lib/private/Memcache/Factory.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Memcache/Factory.php b/lib/private/Memcache/Factory.php index 28a84308edc..08f19e11ef3 100644 --- a/lib/private/Memcache/Factory.php +++ b/lib/private/Memcache/Factory.php @@ -95,7 +95,7 @@ class Factory implements ICacheFactory { '{class}' => $distributedCacheClass, '{use}' => 'distributed' ]), $missingCacheHint); } - if (!($lockingCacheClass && class_exists($distributedCacheClass) && $lockingCacheClass::isAvailable())) { + if (!($lockingCacheClass && class_exists($lockingCacheClass) && $lockingCacheClass::isAvailable())) { // don't fallback since the fallback might not be suitable for storing lock $lockingCacheClass = self::NULL_CACHE; } |