1 cache.inc | BackdropDatabaseCache::garbageCollection() |
Implements BackdropCacheInterface::garbageCollection().
Overrides BackdropCacheInterface::garbageCollection
File
- core/
includes/ cache.inc, line 588 - Functions and interfaces for cache handling.
Class
- BackdropDatabaseCache
- Defines a default cache implementation.
Code
function garbageCollection() {
db_delete($this->bin)
->condition('expire', CACHE_PERMANENT, '<>')
->condition('expire', REQUEST_TIME, '<')
->execute();
}