function nodewords_extra_uninstall in Nodewords: D6 Meta Tags 6.2
Same name and namespace in other branches
- 6 nodewords_extra/nodewords_extra.install \nodewords_extra_uninstall()
Implements hook_uninstall().
File
- nodewords_extra/
nodewords_extra.install, line 18 - Install, update and uninstall functions for the Extra meta tags module.
Code
function nodewords_extra_uninstall() {
if (db_table_exists('nodewords')) {
$metatags = array(
'dc.contributor',
'dc.creator',
'dc.date',
'dc.publisher',
'dc.title',
'geourl',
'location',
'pics-label',
);
db_query("DELETE FROM {nodewords} WHERE name IN (" . db_placeholders($metatags, 'varchar') . ")", $metatags);
}
}