Commit 8f9586f9 authored by bgm's avatar bgm

Merge branch '7.x-1.x' of into 7.x-1.x

parents 14eefcb9 5e7eaac7
......@@ -265,6 +265,11 @@ function boost_cron() {
function boost_flush_caches() {
// Remove all files from the cache
global $_boost;
// This may not have been invoked in hook_init because of the quick
// check to avoid caching requests from the CLI
$_boost = boost_transform_url();
if ( isset($_boost['base_dir'])
&& (empty($_boost['cron']) || variable_get('boost_ignore_flush', BOOST_IGNORE_FLUSH) == FALSE)
) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment