diff options
Diffstat (limited to 'lib/private/files/storage/polyfill/copydirectory.php')
-rw-r--r-- | lib/private/files/storage/polyfill/copydirectory.php | 2 |
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); |