public static function QPCache::prune in QueryPath 7.2
Same name and namespace in other branches
- 6 qpcache/qpcache.module \QPCache::prune()
- 7.3 qpcache/qpcache.module \QPCache::prune()
Remove expired keys.
1 call to QPCache::prune()
- qpcache_cron in qpcache/
qpcache.module - Implements hook_cron().
File
- qpcache/
qpcache.module, line 287 - The main file for qpcache.
Class
- QPCache
- This is a special-purpose XML cache.
Code
public static function prune() {
db_delete('qpcache_xmlcache')
->condition('expire', array(
1,
time(),
), 'BETWEEN');
}