aboutsummaryrefslogtreecommitdiffstats
path: root/lib/filesystem.php
diff options
context:
space:
mode:
authorMichael Gapczynski <GapczynskiM@gmail.com>2011-07-12 20:51:07 -0400
committerMichael Gapczynski <GapczynskiM@gmail.com>2011-07-12 20:51:07 -0400
commita79f2535f852c5892cf05fec66d44e22ac225c07 (patch)
tree979e0496cfd80c091c78b957daca7e45a9551d8c /lib/filesystem.php
parentd393ccfe2c30d6ffa7de20aee6c52ae0e36efaa0 (diff)
parenta8616665002b4d49af4e65d360c0c3909f7d9a81 (diff)
downloadnextcloud-server-a79f2535f852c5892cf05fec66d44e22ac225c07.tar.gz
nextcloud-server-a79f2535f852c5892cf05fec66d44e22ac225c07.zip
Merge branch 'master' into sharing
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 56007527ad3..3bb0239e9f1 100644
--- a/lib/filesystem.php
+++ b/lib/filesystem.php
@@ -412,7 +412,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){