Commit 9582289c authored by helmo's avatar helmo Committed by Jeremy

Issue #2099893 by helmo: fix typo in lockInit call.

parent 068fd12b
......@@ -73,7 +73,7 @@ class MemCacheDrupal implements DrupalCacheInterface {
if (variable_get('memcache_stampede_protection', FALSE)) {
// The process that acquires the lock will get a cache miss, all
// others will get a cache hit.
if ($this->lockInit && lock_acquire("memcache_$cid:$this->bin", variable_get('memcache_stampede_semaphore', 15))) {
if ($this->lockInit() && lock_acquire("memcache_$cid:$this->bin", variable_get('memcache_stampede_semaphore', 15))) {
$cache = FALSE;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment