You are here

function nodewords_update_6117 in Nodewords: D6 Meta Tags 6

Same name and namespace in other branches
  1. 6.2 nodewords.install \nodewords_update_6117()

Implements hook_update_N().

File

./nodewords.install, line 597
Installation file for nodewords.module.

Code

function nodewords_update_6117() {
  $ret[] = update_sql("DELETE FROM {nodewords} WHERE type IN ('views', 'panels')");
  if (db_affected_rows()) {
    $ret[] = array(
      'success' => TRUE,
      'query' => check_plain('The support for Views, and Panels have been changed; visit ' . url('admin/content/nodewords/meta-tags/other', array(
        'absolute' => TRUE,
      )) . ' to edit the meta tags for those pages'),
    );
  }
  return $ret;
}