diff options
-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) { |