mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix: Use proper path when trying to check if a file needs to get copied
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
b6691b35c7
commit
ca453f5b84
1 changed files with 1 additions and 1 deletions
|
|
@ -344,7 +344,7 @@ class ChunkingV2Plugin extends ServerPlugin {
|
|||
|
||||
// If the file was not uploaded to the user storage directly we need to copy/move it
|
||||
try {
|
||||
$uploadFileAbsolutePath = Filesystem::getRoot() . $uploadFile->getPath();
|
||||
$uploadFileAbsolutePath = $uploadFile->getFileInfo()->getPath();
|
||||
if ($uploadFileAbsolutePath !== $targetAbsolutePath) {
|
||||
$uploadFile = $rootFolder->get($uploadFile->getFileInfo()->getPath());
|
||||
if ($exists) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue