summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-02-28 11:16:41 +0100
committerRobin Appelman <icewind@owncloud.com>2012-02-28 11:16:41 +0100
commit273d7fb4fd15eceb92e488df116c859fda7cd2d5 (patch)
tree93f423ba95fe3a2c097f7c5d5ba56fdac140438a /lib
parent77b51f03e3495fec8f0ed6489b884b1f13e6157d (diff)
downloadnextcloud-server-273d7fb4fd15eceb92e488df116c859fda7cd2d5.tar.gz
nextcloud-server-273d7fb4fd15eceb92e488df116c859fda7cd2d5.zip
fix copy/paste error in common filestorage
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');