You are here

function advagg_js_compress_update_6102 in Advanced CSS/JS Aggregation 7

Same name and namespace in other branches
  1. 6 advagg_js_compress/advagg_js_compress.install \advagg_js_compress_update_6102()

Update 6102 - Create the cache_advagg_css_compress_file cache table.

File

advagg_js_compress/advagg_js_compress.install, line 181
Handles AdvAgg JS compress installation and upgrade tasks.

Code

function advagg_js_compress_update_6102() {
  $ret = array();

  // Create cache table.
  $schema = advagg_js_compress_schema();
  db_create_table('cache_advagg_js_compress_file', $schema['cache_advagg_js_compress_file']);

  // 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.');
}