Skip to content
Snippets Groups Projects
Commit b4fd4f2d authored by pvhee's avatar pvhee Committed by Chris Leppanen
Browse files

Issue #1662550 by pvhee: Fixed Invoke hook_feeds_after_import() after writing to the logs.

parent c32962a3
No related branches found
No related tags found
No related merge requests found
......@@ -363,9 +363,9 @@ class FeedsSource extends FeedsConfigurable {
// Clean up.
$result = $this->progressImporting();
if ($result == FEEDS_BATCH_COMPLETE || isset($e)) {
module_invoke_all('feeds_after_import', $this);
$this->imported = time();
$this->log('import', 'Imported in !s s', array('!s' => $this->imported - $this->state[FEEDS_START]), WATCHDOG_INFO);
module_invoke_all('feeds_after_import', $this);
unset($this->fetcher_result, $this->state);
}
$this->save();
......
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