You are here

function boost_flush_caches in Boost 6

Same name and namespace in other branches
  1. 7 boost.module \boost_flush_caches()

File

./boost.module, line 1024
Provides static file caching for Drupal text output. Pages, Feeds, ect...

Code

function boost_flush_caches() {
  if (variable_get('cron_semaphore', FALSE) == FALSE && (variable_get('preprocess_css', FALSE) == TRUE || variable_get('preprocess_js', FALSE) == TRUE)) {
    boost_cache_clear_all();
  }
  return;
}