]> source.dussan.org Git - nextcloud-server.git/commitdiff
revert an accidental change
authorRobin Appelman <icewind@owncloud.com>
Sat, 3 Mar 2012 21:12:17 +0000 (22:12 +0100)
committerRobin Appelman <icewind@owncloud.com>
Sat, 3 Mar 2012 21:12:17 +0000 (22:12 +0100)
lib/filestorage/local.php

index 25c3d7674018934b582cc017f5fbe312307c301a..688501aee906ed23ade34222dd6b1b2778181586 100644 (file)
@@ -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);