You are here

public static function QPCache::clear in QueryPath 7.2

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

Empty the cache.

File

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

Class

QPCache
This is a special-purpose XML cache.

Code

public static function clear() {
  db_query('TRUNCATE TABLE {qpcache_xmlcache}');
}