summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/filestorage/common.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/filestorage/common.php b/lib/filestorage/common.php
index 28c5e70041d..2e7ad957129 100644
--- a/lib/filestorage/common.php
+++ b/lib/filestorage/common.php
@@ -107,7 +107,7 @@ abstract class OC_Filestorage_Common extends OC_Filestorage {
// abstract public function free_space($path);
// abstract public function search($query);
public function getLocalFile($path){
- return $this->getLocalFile();
+ return $this->toTmpFile();
}
private function toTmpFile($path){//no longer in the storage api, still usefull here
$source=$this->fopen($path,'r');