function nodewords_basic_update_6300 in Nodewords: D6 Meta Tags 6.3
Implements hook_update_N().
File
- nodewords_basic/
nodewords_basic.install, line 18 - Install, update and uninstall functions for the Basic meta tags module.
Code
function nodewords_basic_update_6300() {
$ret = array();
$ret[] = update_sql("UPDATE nodewords SET content = REPLACE(content, 'indexfollow', 'index,follow') WHERE name='robots';");
$ret[] = update_sql("UPDATE nodewords SET content = REPLACE(content, 'indexnofollow', 'index,nofollow') WHERE name='robots';");
$ret[] = update_sql("UPDATE nodewords SET content = REPLACE(content, 'noindexfollow', 'noindex,follow') WHERE name='robots';");
$ret[] = update_sql("UPDATE nodewords SET content = REPLACE(content, 'noindexnofollow', 'noindex,nofollow') WHERE name='robots';");
return $ret;
}