Fixed bug #15721: Memcache::delete() without timeout param causes loss of memcache...
[Packages/TYPO3.CMS.git] / t3lib / cache / backend / class.t3lib_cache_backend_memcachedbackend.php
index 6c245af..1e9fbbd 100644 (file)
@@ -337,7 +337,7 @@ class t3lib_cache_backend_MemcachedBackend extends t3lib_cache_backend_AbstractB
         */
        public function remove($entryIdentifier) {
                $this->removeIdentifierFromAllTags($entryIdentifier);
-               return $this->memcache->delete($this->identifierPrefix . $entryIdentifier);
+               return $this->memcache->delete($this->identifierPrefix . $entryIdentifier, 0);
        }
 
        /**
@@ -487,13 +487,13 @@ class t3lib_cache_backend_MemcachedBackend extends t3lib_cache_backend_AbstractB
                                                        $identifiers
                                                );
                                        } else {
-                                               $this->memcache->delete($this->identifierPrefix . 'tag_' . $tag);
+                                               $this->memcache->delete($this->identifierPrefix . 'tag_' . $tag, 0);
                                        }
                                }
                        }
 
                                // Clear reverse tag index for this identifier
-                       $this->memcache->delete($this->identifierPrefix . 'ident_' . $entryIdentifier);
+                       $this->memcache->delete($this->identifierPrefix . 'ident_' . $entryIdentifier, 0);
                }
        }