Commit 14eefcb9 authored by Jānis Bebrītis's avatar Jānis Bebrītis Committed by bgm

refs #1414560 by Jānis Bebrītis : hook_cron didn't have a full , causing the clean cache to fail

parent 25ed1bf6
......@@ -245,6 +245,11 @@ function boost_exit($destination = NULL) {
function boost_cron() {
// Remove expired files from the cache.
global $_boost;
// This was not invoked in hook_init because of the quick check to
// avoid caching requests from the CLI
$_boost = boost_transform_url();
$_boost['cron'] = TRUE;
if ( isset($_boost['base_dir'])
&& variable_get('boost_expire_cron', BOOST_EXPIRE_CRON)
......
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