diff options
author | Michael Gapczynski <GapczynskiM@gmail.com> | 2011-07-13 13:30:22 -0400 |
---|---|---|
committer | Michael Gapczynski <GapczynskiM@gmail.com> | 2011-07-13 13:47:45 -0400 |
commit | ecaf66ee970d07bd257a3a938159e38708301a5f (patch) | |
tree | 2c03c8eba07f5195fa9a3d3347aac429e2f1a7f8 /lib/filesystem.php | |
parent | a8616665002b4d49af4e65d360c0c3909f7d9a81 (diff) | |
download | nextcloud-server-ecaf66ee970d07bd257a3a938159e38708301a5f.tar.gz nextcloud-server-ecaf66ee970d07bd257a3a938159e38708301a5f.zip |
Add missing argument for fromTmpFile() inside of rename()
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 c8bafb2b58a..b82fe2afebf 100644 --- a/lib/filesystem.php +++ b/lib/filesystem.php @@ -383,7 +383,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)); $storage1->unlink(self::getInternalPath($path1)); } OC_HOOK::emit( 'OC_FILESYSTEM', 'post_rename', array( 'oldpath' => $path1, 'newpath'=>$path2)); |