Commit df6c024e authored by Nicolas Delaby's avatar Nicolas Delaby

MemcacheDict does not implement delete

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29107 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7f50b877
......@@ -109,7 +109,7 @@ class DistributedRamCache(BaseCache):
# since some memcached-like products does not support expiration, we
# check it by ourselves.
if cache_entry.isExpired():
cache_storage.delete(cache_id)
del cache_storage[cache_id]
return default
self.markCacheHit()
return cache_entry
......
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