diff options
author | Daniel <mail@danielkesselberg.de> | 2023-08-14 12:29:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-14 12:29:40 +0200 |
commit | 2ea6c5364dfd672576824b65c1120c17b8c25c0f (patch) | |
tree | ce63158f32087aa1ec7d469d7439add1fa3aca8c /lib | |
parent | 433cb707388a887e7a50156ce9c16f9759543583 (diff) | |
parent | f1d4f7c7e46cc3a5d8c227c51a6a5ecbab8867fb (diff) | |
download | nextcloud-server-2ea6c5364dfd672576824b65c1120c17b8c25c0f.tar.gz nextcloud-server-2ea6c5364dfd672576824b65c1120c17b8c25c0f.zip |
Merge pull request #39644 from nextcloud/fix/noid/copy-delete-fallback-for-files
fix: copy-and-delete fallback should use unlink
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Files/Storage/Local.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Storage/Local.php b/lib/private/Files/Storage/Local.php index fb62a53d894..02708ed4f7d 100644 --- a/lib/private/Files/Storage/Local.php +++ b/lib/private/Files/Storage/Local.php @@ -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) { |