public static function QPCache::remove in QueryPath 6
Same name and namespace in other branches
- 7.3 qpcache/qpcache.module \QPCache::remove()
- 7.2 qpcache/qpcache.module \QPCache::remove()
Remove a single entry from the cache.
This will remove the item whether it has expired or note.
Parameters
$key: The key of the item to be removed.
1 call to QPCache::remove()
- qpcache_remove in qpcache/
qpcache.module - Remove an item from the cache.
File
- qpcache/
qpcache.module, line 269 - The main file for qpcache.
Class
- QPCache
- This is a special-purpose XML cache.
Code
public static function remove($key) {
list($crckey, $hashkey) = self::genMultiKey($key);
db_query("DELETE FROM {qpcache_xmlcache} WHERE hashkey = '%s'", $hashkey);
}