function advagg_js_compress_update_6101 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_6101()
Update 6101 - Create the cache_advagg_css_compress_inline cache table.
File
- advagg_js_compress/
advagg_js_compress.install, line 165 - Handles AdvAgg JS compress installation and upgrade tasks.
Code
function advagg_js_compress_update_6101() {
$ret = array();
// Create cache table.
$schema = advagg_js_compress_schema();
db_create_table('cache_advagg_js_compress_inline', $schema['cache_advagg_js_compress_inline']);
// 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.');
}