Skip to content
Snippets Groups Projects
Commit e7d3d7d4 authored by Pascal Crott's avatar Pascal Crott Committed by Youri van Koppen
Browse files

Issue #3406779 by Hydra: FeedsFileSystemBase::saveData() should return the...

Issue #3406779 by Hydra: FeedsFileSystemBase::saveData() should return the path the file was saved to.
parent 850cabd5
No related branches found
No related tags found
1 merge request!1493406779 Return the path from file_system if available in feed file system saveData.
Pipeline #63795 failed
......@@ -58,8 +58,8 @@ abstract class FeedsFileSystemBase implements FeedsFileSystemInterface {
$directory = $this->fileSystem->dirname($destination);
$this->prepareDirectory($directory);
$this->fileSystem->saveData($data, $destination);
return $destination;
$path = $this->fileSystem->saveData($data, $destination);
return $path ?: $destination;
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment