function nodewords_update_6117 in Nodewords: D6 Meta Tags 6.2
Same name and namespace in other branches
- 6 nodewords.install \nodewords_update_6117()
Implements hook_update_N().
File
- ./
nodewords.install, line 476 - Install, update and uninstall functions for the 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;
}