You are here

function ad_memcache_delete in Advertisement 6

Same name and namespace in other branches
  1. 5.2 cache/memcache/ad_cache_memcache.inc \ad_memcache_delete()
  2. 5 cache/memcache/ad_cache_memcache.inc \ad_memcache_delete()

Delete a value from memcache.

2 calls to ad_memcache_delete()
ad_cache_memcache_sync_ad in cache/memcache/ad_cache_memcache.module
Syncronize counts for given advertisement with database.
ad_memcache_unlock in cache/memcache/ad_cache_memcache.inc
Release a lock in memcache.

File

cache/memcache/ad_cache_memcache.inc, line 255
Memcache include.

Code

function ad_memcache_delete($key) {
  $memcache = ad_memcache_init();
  return $memcache
    ->delete($key);
}