Merge pull request #39644 from nextcloud/fix/noid/copy-delete-fallback-for-files

fix: copy-and-delete fallback should use unlink
This commit is contained in:
Daniel 2023-08-14 12:29:40 +02:00 committed by GitHub
commit 2ea6c5364d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -368,7 +368,7 @@ class Local extends \OC\Files\Storage\Common {
return true;
}
return $this->copy($source, $target) && $this->rmdir($source);
return $this->copy($source, $target) && $this->unlink($source);
}
public function copy($source, $target) {