Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-03-04 01:12:17 +0400
committerRobin Appelman <icewind@owncloud.com>2012-03-04 01:12:17 +0400
commitf06858689f9709d3859f814ca57dfa54b9ed0865 (patch)
treed2dc80b0c36e73c5701557afa859be82c8885f86 /lib/filestorage
parentaf214d9dcd0f4c6058c91875e10f38824582aa74 (diff)
revert an accidental change
Diffstat (limited to 'lib/filestorage')
-rw-r--r--lib/filestorage/local.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/filestorage/local.php b/lib/filestorage/local.php
index 25c3d767401..688501aee90 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);