function hosting_alias_delete_revision in Hosting 5
Same name and namespace in other branches
- 6.2 alias/hosting_alias.module \hosting_alias_delete_revision()
- 7.4 alias/hosting_alias.module \hosting_alias_delete_revision()
- 7.3 alias/hosting_alias.module \hosting_alias_delete_revision()
2 calls to hosting_alias_delete_revision()
- hosting_alias_nodeapi in alias/
hosting_alias.module - Implementation of hook_nodeapi
- hosting_alias_update in alias/
hosting_alias.module
File
- alias/
hosting_alias.module, line 111
Code
function hosting_alias_delete_revision($node) {
db_query("DELETE FROM {hosting_site_alias} WHERE nid=%d and vid=%d", $node->nid, $node->vid);
}