You are here

function nodewords_extra_update_6106 in Nodewords: D6 Meta Tags 6

Same name and namespace in other branches
  1. 6.2 nodewords_extra/nodewords_extra.install \nodewords_extra_update_6106()

Implements hook_update_N().

File

nodewords_extra/nodewords_extra.install, line 21
Installation file for nodewords_extra.module.

Code

function nodewords_extra_update_6106() {
  $ret = array();
  if (db_table_exists('nodewords')) {
    $ret[] = update_sql("DELETE FROM {nodewords} WHERE name IN ('pics-label')");
    $ret[] = array(
      'success' => TRUE,
      'query' => 'Removed support for the defunct FOSI ICRA meta tag.',
    );
  }
  variable_del('nodewords_icra_validation_content');
  return $ret;
}