You are here

function feeds_imagegrabber_node_delete in Feeds Image Grabber 7

Implements hook_node_delete().

File

./feeds_imagegrabber.module, line 126
Grabs images for items imported using the feeds module.

Code

function feeds_imagegrabber_node_delete($node) {
  db_delete('feeds_imagegrabber')
    ->condition('feed_nid', $node->nid)
    ->execute();
}