From 273d7fb4fd15eceb92e488df116c859fda7cd2d5 Mon Sep 17 00:00:00 2001
From: Robin Appelman <icewind@owncloud.com>
Date: Tue, 28 Feb 2012 11:16:41 +0100
Subject: [PATCH] fix copy/paste error in common filestorage

---
 lib/filestorage/common.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/filestorage/common.php b/lib/filestorage/common.php
index 28c5e70041..2e7ad95712 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');
-- 
GitLab