aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-07-03 13:43:22 +0200
committerRobin Appelman <icewind@owncloud.com>2015-07-03 13:43:22 +0200
commitb849b7c7f29e35ce0a8742f0f1a1ab5ae9ebf857 (patch)
tree7cee696748a15a557b758e814c74a5499a28e555 /lib/private
parent4b181f73ca32b0711c168b8641cae14ed2165a33 (diff)
downloadnextcloud-server-b849b7c7f29e35ce0a8742f0f1a1ab5ae9ebf857.tar.gz
nextcloud-server-b849b7c7f29e35ce0a8742f0f1a1ab5ae9ebf857.zip
better handling of folders
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/files/storage/polyfill/copydirectory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/storage/polyfill/copydirectory.php b/lib/private/files/storage/polyfill/copydirectory.php
index 2c6df0f962c..1b4873a3a76 100644
--- a/lib/private/files/storage/polyfill/copydirectory.php
+++ b/lib/private/files/storage/polyfill/copydirectory.php
@@ -54,7 +54,7 @@ trait CopyDirectory {
if ($this->file_exists($target)) {
$this->unlink($target);
}
- parent::copy($source, $target);
+ $this->mkdir($target);
return $this->copyRecursive($source, $target);
} else {
return parent::copy($source, $target);