summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.txt1
-rw-r--r--feeds.pages.inc2
2 files changed, 3 insertions, 0 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 57ab0cd..1ba254b 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -3,6 +3,7 @@
Feeds 6.x 1.0 xxxxxxxxxxxxxxxxxxxx
----------------------------------
+- alex_b: Reset import schedule after deleting items from feed.
- #653412 rbrandon: Do not create items older than expiry time.
- #725392 nicholasThompson: FeedsBatch does not check feeds folder exists before
uploading.
diff --git a/feeds.pages.inc b/feeds.pages.inc
index 940a55d..9dfeb25 100644
--- a/feeds.pages.inc
+++ b/feeds.pages.inc
@@ -137,6 +137,8 @@ function feeds_delete_tab_form(&$form_state, $importer_id, $node = NULL) {
function feeds_delete_tab_form_submit($form, &$form_state) {
$form_state['redirect'] = $form['#redirect'];
feeds_batch_set(t('Deleting'), 'clear', $form['#importer_id'], empty($form['#feed_nid']) ? 0 : $form['#feed_nid']);
+ // Reset import schedule.
+ feeds_scheduler()->add($form['#importer_id'], 'import');
}
/**