function boost_cache_expire_all in Boost 6
Same name and namespace in other branches
- 5 boost.api.inc \boost_cache_expire_all()
Flushes all expired pages from cache.
TODO del empty dirs if enabled
3 calls to boost_cache_expire_all()
- boost_clear_expired_cache_submit in ./
boost.admin.inc - Flushes all expired pages from database
- boost_cron in ./
boost.module - Implementation of hook_cron(). Performs periodic actions.
- boost_drush_cache_clear_expired in ./
boost.drush.inc - Clears Boost expired data.
File
- ./
boost.module, line 3625 - Provides static file caching for Drupal text output. Pages, Feeds, ect...
Code
function boost_cache_expire_all() {
if (variable_get('boost_ignore_flush', 0) < 2) {
if (BOOST_NO_DATABASE) {
boost_cache_expire_all_filesystem();
}
else {
boost_cache_expire_all_db();
}
return TRUE;
}
return FALSE;
}