Skip to content
Snippets Groups Projects
Commit 01e5d17b authored by dagomar's avatar dagomar Committed by Chris Leppanen
Browse files

Issue #2275893 by twistor, dagomar: Fixed Process in background doesn't work...

Issue #2275893 by twistor, dagomar: Fixed Process in background doesn't work on non-periodic imports.
parent 4ddb9a03
No related branches found
No related tags found
No related merge requests found
......@@ -296,7 +296,7 @@ class FeedsSource extends FeedsConfigurable {
'period' => $period,
'periodic' => TRUE,
);
if ($period == FEEDS_SCHEDULE_NEVER) {
if ($period == FEEDS_SCHEDULE_NEVER && $this->progressImporting() === FEEDS_BATCH_COMPLETE) {
JobScheduler::get('feeds_source_import')->remove($job);
}
elseif ($this->progressImporting() === FEEDS_BATCH_COMPLETE) {
......
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