diff options
author | Michael Gapczynski <GapczynskiM@gmail.com> | 2011-07-12 20:50:04 -0400 |
---|---|---|
committer | Michael Gapczynski <GapczynskiM@gmail.com> | 2011-07-12 20:50:04 -0400 |
commit | a8616665002b4d49af4e65d360c0c3909f7d9a81 (patch) | |
tree | 14050ef6af4b06dcc70945c2954578d1afa9f8fd /lib/filesystem.php | |
parent | f8eced1960ae9a17cebcb4432ff737a83327c1be (diff) | |
download | nextcloud-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.php | 2 |
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){ |