You are here

function customfilter_update_6104 in Custom filter 7

Same name and namespace in other branches
  1. 6 customfilter.install \customfilter_update_6104()
  2. 7.2 customfilter.install \customfilter_update_6104()

Implements hook_update_N().

File

./customfilter.install, line 295
Installation file for Custom filter.

Code

function customfilter_update_6104() {
  $ret = array();
  $schema = drupal_get_schema_unprocessed('system', 'cache');
  $schema['description'] = 'Cache table for the Custom filter module to store information about the custom filter, and the replacement rules.';
  if (!db_table_exists('cache_customfilter')) {
    db_create_table('cache_customfilter', $schema);
  }

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