fix copy/paste error in common filestorage

This commit is contained in:
Robin Appelman 2012-02-28 11:16:41 +01:00
parent 77b51f03e3
commit 273d7fb4fd
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ abstract class OC_Filestorage_Common extends OC_Filestorage {
// abstract public function free_space($path); // abstract public function free_space($path);
// abstract public function search($query); // abstract public function search($query);
public function getLocalFile($path){ public function getLocalFile($path){
return $this->getLocalFile(); return $this->toTmpFile();
} }
private function toTmpFile($path){//no longer in the storage api, still usefull here private function toTmpFile($path){//no longer in the storage api, still usefull here
$source=$this->fopen($path,'r'); $source=$this->fopen($path,'r');