Skip to content
Snippets Groups Projects
Commit a79f2535 authored by Michael Gapczynski's avatar Michael Gapczynski
Browse files

Merge branch 'master' into sharing

parents d393ccfe a8616665
No related branches found
No related tags found
No related merge requests found
......@@ -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){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment