You are here

function boost_drush_cache_clear_all in Boost 7

Same name and namespace in other branches
  1. 6 boost.drush.inc \boost_drush_cache_clear_all()

Clears all Boost cached data.

1 string reference to 'boost_drush_cache_clear_all'
boost_drush_cache_clear in ./boost.drush.inc
Implements hook_drush_cache_clear().

File

./boost.drush.inc, line 18
Drush commands for Boost.

Code

function boost_drush_cache_clear_all() {
  $ignore = variable_get('boost_ignore_flush', 0);
  $GLOBALS['conf']['boost_ignore_flush'] = 0;
  boost_flush_caches();
  $GLOBALS['conf']['boost_ignore_flush'] = $ignore;
}