function advagg_js_compress_update_6103 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_6103()
Update 6103 - Clear the cache_advagg_css_compress_file cache table.
File
- advagg_js_compress/
advagg_js_compress.install, line 197 - Handles AdvAgg JS compress installation and upgrade tasks.
Code
function advagg_js_compress_update_6103() {
$ret = array();
// Clear cache_advagg_js_compress_file cache.
cache_clear_all('*', 'cache_advagg_js_compress_file', TRUE);
$ret[] = array(
'success' => TRUE,
'query' => 'The cache_advagg_js_compress_file table has been cleared.',
);
// 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.');
}