Skip to content
Snippets Groups Projects
Commit 04fd7f81 authored by Alex Barth's avatar Alex Barth
Browse files

Reset import schedule after deleting.

parent 354717d5
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
Feeds 6.x 1.0 xxxxxxxxxxxxxxxxxxxx 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. - #653412 rbrandon: Do not create items older than expiry time.
- #725392 nicholasThompson: FeedsBatch does not check feeds folder exists before - #725392 nicholasThompson: FeedsBatch does not check feeds folder exists before
uploading. uploading.
......
...@@ -137,6 +137,8 @@ function feeds_delete_tab_form(&$form_state, $importer_id, $node = NULL) { ...@@ -137,6 +137,8 @@ function feeds_delete_tab_form(&$form_state, $importer_id, $node = NULL) {
function feeds_delete_tab_form_submit($form, &$form_state) { function feeds_delete_tab_form_submit($form, &$form_state) {
$form_state['redirect'] = $form['#redirect']; $form_state['redirect'] = $form['#redirect'];
feeds_batch_set(t('Deleting'), 'clear', $form['#importer_id'], empty($form['#feed_nid']) ? 0 : $form['#feed_nid']); 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');
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment