You are here

function qpcache_remove in QueryPath 7.2

Same name and namespace in other branches
  1. 6 qpcache/qpcache.module \qpcache_remove()
  2. 7.3 qpcache/qpcache.module \qpcache_remove()

Remove an item from the cache.

The item will be removed whether it has been expired or not.

Parameters

$key: The key of the item to remove.

File

qpcache/qpcache.module, line 132
The main file for qpcache.

Code

function qpcache_remove($key) {
  $key = _qpcache_format_key($key);
  if (!isset($key)) {
    return;
  }
  return QPCache::remove($key);
}