Skip to content
Snippets Groups Projects
Commit 2738aab4 authored by Robin Appelman's avatar Robin Appelman
Browse files

fixed bug in filesystem abstraction that broke file uploading

parent 1a236a88
No related branches found
No related tags found
Loading
......@@ -284,7 +284,7 @@ class OC_FILESYSTEM{
}
static public function fromTmpFile($tmpFile,$path){
if(self::canWrite($path) and $storage=self::getStorage($path)){
return $storage->fromTmpFile(self::getInternalPath($path));
return $storage->fromTmpFile($tmpFile,self::getInternalPath($path));
}
}
static public function getMimeType($path){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment