fixed bug in memcache extension < 3.1.1 with memcache > 1.4.3, eg. Debian 6, causing delete of cache items to fail

This commit is contained in:
Ralf Becker 2012-04-13 10:57:27 +00:00
parent 189d89be1b
commit 747b403973

View File

@ -103,7 +103,9 @@ class egw_cache_memcache extends egw_cache_provider_check implements egw_cache_p
*/
function delete(array $keys)
{
return $this->memcache->delete(self::key($keys));
// ,0 required to fix a bug in memcache extension < 3.1.1 with memcache > 1.4.3, eg. Debian 6
// see https://bugs.php.net/bug.php?id=58943
return $this->memcache->delete(self::key($keys), 0);
}
/**