From f06858689f9709d3859f814ca57dfa54b9ed0865 Mon Sep 17 00:00:00 2001
From: Robin Appelman <icewind@owncloud.com>
Date: Sat, 3 Mar 2012 22:12:17 +0100
Subject: [PATCH] revert an accidental change

---
 lib/filestorage/local.php | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/lib/filestorage/local.php b/lib/filestorage/local.php
index 25c3d76740..688501aee9 100644
--- a/lib/filestorage/local.php
+++ b/lib/filestorage/local.php
@@ -79,9 +79,8 @@ class OC_Filestorage_Local extends OC_Filestorage{
 	public function file_get_contents($path){
 		return file_get_contents($this->datadir.$path);
 	}
-	public function file_put_contents($path,$data=null){
-		if($return=file_put_contents($this->datadir.$path,$data)){
-		}
+	public function file_put_contents($path,$data){
+		return file_put_contents($this->datadir.$path,$data);
 	}
 	public function unlink($path){
 		return $this->delTree($path);
-- 
GitLab