? PATCHES.txt
Index: feeds.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/feeds/feeds.module,v
retrieving revision 1.55.2.2
diff -u -p -r1.55.2.2 feeds.module
--- feeds.module	26 Sep 2010 17:39:45 -0000	1.55.2.2
+++ feeds.module	27 Oct 2010 19:21:13 -0000
@@ -385,8 +385,12 @@ function feeds_nodeapi(&$node, $op, $for
         $node_feeds = NULL;
         break;
       case 'delete':
+        $source = feeds_source($importer_id, $node->nid);
+        if ($source->importer->processor->config['auto_delete_items']) {
+          $source->clear();
+        }
         // Remove attached source.
-        feeds_source($importer_id, $node->nid)->delete();
+        $source->delete();
         break;
     }
   }
Index: plugins/FeedsDataProcessor.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/feeds/plugins/Attic/FeedsDataProcessor.inc,v
retrieving revision 1.24.2.1
diff -u -p -r1.24.2.1 FeedsDataProcessor.inc
--- plugins/FeedsDataProcessor.inc	21 Sep 2010 13:28:53 -0000	1.24.2.1
+++ plugins/FeedsDataProcessor.inc	27 Oct 2010 19:21:13 -0000
@@ -235,6 +235,7 @@ class FeedsDataProcessor extends FeedsPr
       'update_existing' => FEEDS_SKIP_EXISTING,
       'expire' => FEEDS_EXPIRE_NEVER, // Don't expire items by default.
       'mappings' => array(),
+      'delete_with_source' => FALSE,
     );
   }
 
@@ -256,6 +257,13 @@ class FeedsDataProcessor extends FeedsPr
       '#description' => t('If an existing record is found for an imported record, replace it. Existing records will be determined using mappings that are a "unique target".'),
       '#default_value' => $this->config['update_existing'],
     );
+    $form['delete_with_source'] = array(
+      '#type' => 'checkbox',
+      '#title' => t('Delete items with source'),
+      '#description' => t('If enabled, any feed items associated with a source node will removed along with the node. Not available for standalone importers.'),
+      '#default_value' => $this->config['delete_with_source'],
+      '#disabled' => empty(feeds_importer($this->id)->config['content_type']) ? TRUE : FALSE,
+    );
     return $form;
   }
 
