Skip to content

Commit

Permalink
MERGE: Merge branch '5.2' into 5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
albe committed Jan 23, 2020
2 parents 96396b2 + e9458f9 commit 1ee9122
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ public function importResource($source, $collectionName)
throw new StorageException(sprintf('Could import the content stream to temporary file "%s".', $temporaryTargetPathAndFilename), 1380880079);
}
} else {
try {
copy($source, $temporaryTargetPathAndFilename);
} catch (\Exception $exception) {
if (copy($source, $temporaryTargetPathAndFilename) === false) {
throw new StorageException(sprintf('Could not copy the file from "%s" to temporary file "%s".', $source, $temporaryTargetPathAndFilename), 1375198876);
}
}
Expand Down

0 comments on commit 1ee9122

Please sign in to comment.