function advagg_js_compress_update_6100 in Advanced CSS/JS Aggregation 7
Same name and namespace in other branches
- 6 advagg_js_compress/advagg_js_compress.install \advagg_js_compress_update_6100()
Update 6100 - Clear file cache.
File
- advagg_js_compress/
advagg_js_compress.install, line 147 - Handles AdvAgg JS compress installation and upgrade tasks.
Code
function advagg_js_compress_update_6100() {
$ret = array();
cache_clear_all('*', 'cache_advagg_files_data', TRUE);
$ret[] = array(
'success' => TRUE,
'query' => 'advagg files_data cache flushed.',
);
// hook_update_N() no longer returns a $ret array. Instead, return
// nothing or a translated string indicating the update ran successfully.
// See http://drupal.org/node/224333#update_sql.
return t('TODO Add a descriptive string here to show in the UI.');
}