You are here

function advagg_css_compress_update_6100 in Advanced CSS/JS Aggregation 7

Same name and namespace in other branches
  1. 6 advagg_css_compress/advagg_css_compress.install \advagg_css_compress_update_6100()

Update 6100 - Create the cache_advagg_css_compress_inline cache table.

File

advagg_css_compress/advagg_css_compress.install, line 85
Handles AdvAgg CSS compress installation and upgrade tasks.

Code

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

  // Create cache table.
  $schema = advagg_css_compress_schema();
  db_create_table('cache_advagg_css_compress_inline', $schema['cache_advagg_css_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.');
}