Various code cleanup.

This commit is contained in:
James Cole
2019-02-16 08:05:48 +01:00
parent 59fdf5b77a
commit e0aa7f3ff5
15 changed files with 761 additions and 750 deletions

View File

@@ -437,7 +437,7 @@ class ImportJobRepository implements ImportJobRepositoryInterface
$attachment->size = $file->getSize();
$attachment->uploaded = false;
$attachment->save();
$fileObject = $file->openFile('r');
$fileObject = $file->openFile();
$fileObject->rewind();