summaryrefslogtreecommitdiffstats
path: root/lib/filesystem.php
diff options
context:
space:
mode:
authorMichael Gapczynski <GapczynskiM@gmail.com>2011-07-12 20:50:04 -0400
committerMichael Gapczynski <GapczynskiM@gmail.com>2011-07-12 20:50:04 -0400
commita8616665002b4d49af4e65d360c0c3909f7d9a81 (patch)
tree14050ef6af4b06dcc70945c2954578d1afa9f8fd /lib/filesystem.php
parentf8eced1960ae9a17cebcb4432ff737a83327c1be (diff)
downloadnextcloud-server-a8616665002b4d49af4e65d360c0c3909f7d9a81.tar.gz
nextcloud-server-a8616665002b4d49af4e65d360c0c3909f7d9a81.zip
Add missing parameter for fromTmpFile() inside of copy()
Diffstat (limited to 'lib/filesystem.php')
-rw-r--r--lib/filesystem.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/filesystem.php b/lib/filesystem.php
index a67a36c9213..c8bafb2b58a 100644
--- a/lib/filesystem.php
+++ b/lib/filesystem.php
@@ -411,7 +411,7 @@ class OC_FILESYSTEM{
}
}elseif($storage1=self::getStorage($path1) and $storage2=self::getStorage($path2)){
$tmpFile=$storage1->toTmpFile(self::getInternalPath($path1));
- $result=$storage2->fromTmpFile(self::getInternalPath($path2));
+ $result=$storage2->fromTmpFile($tmpFile,self::getInternalPath($path2));
}
OC_HOOK::emit( 'OC_FILESYSTEM', 'post_copy', array( 'oldpath' => $path1 ,'newpath'=>$path2));
if(!$exists){