diff --git a/lib/private/files/view.php b/lib/private/files/view.php index 530aa8f7514df6b87970d6b2684c7279f32315b0..5206e4f01b76ad8e80c4362adacd0b90313de372 100644 --- a/lib/private/files/view.php +++ b/lib/private/files/view.php @@ -413,7 +413,7 @@ class View { $result = $this->copy($path1, $path2); if ($result === true) { list($storage1, $internalPath1) = Filesystem::resolvePath($absolutePath1 . $postFix1); - $result = $storage1->deleteAll($internalPath1); + $result = $storage1->unlink($internalPath1); } } else { $source = $this->fopen($path1 . $postFix1, 'r');