You are here

public static function QPCache::clear in QueryPath 6

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

Empty the cache.

File

qpcache/qpcache.module, line 285
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}');
}