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

Fix call order: recent introduction of file_path in FeedsImportBatch reset...

Fix call order: recent introduction of file_path in FeedsImportBatch reset file path after setting it in FeedsFileBatch.
parent f1295fed
No related branches found
No related tags found
No related merge requests found
......@@ -15,15 +15,15 @@ class FeedsFileBatch extends FeedsImportBatch {
* Constructor.
*/
public function __construct($file_path, $feed_nid = 0) {
$this->file_path = $file_path;
parent::__construct('', $feed_nid);
$this->file_path = $file_path;
}
/**
* Implements FeedsImportBatch::getRaw();
*/
public function getRaw() {
return file_get_contents(realpath($this->file_path));
return file_get_contents($this->file_path);
}
/**
......
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