function feeds_node_delete in Feeds 7
Same name and namespace in other branches
- 8.2 feeds.module \feeds_node_delete()
- 7.2 feeds.module \feeds_node_delete()
Implements hook_node_delete().
Related topics
File
- ./
feeds.module, line 422 - Feeds - basic API functions and hook implementations.
Code
function feeds_node_delete($node) {
_feeds_node_processor_node_delete($node);
if ($importer_id = feeds_get_importer_id($node->type)) {
feeds_source($importer_id, $node->nid)
->delete();
}
}