Commit 04d827cb authored by catch's avatar catch

Issue #1103796 by FilmKnurd: memcache delete fix.

parent 87e87a48
......@@ -153,7 +153,7 @@ function dmemcache_delete($key, $bin = 'cache', $mc = NULL) {
$full_key = dmemcache_key($key, $bin);
$_memcache_statistics[] = array('delete', $bin, $full_key, '');
if ($mc || ($mc = dmemcache_object($bin))) {
return $mc->delete($full_key);
return $mc->delete($full_key, 0);
}
return 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