diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-03-03 22:12:17 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-03-03 22:12:17 +0100 |
commit | f06858689f9709d3859f814ca57dfa54b9ed0865 (patch) | |
tree | d2dc80b0c36e73c5701557afa859be82c8885f86 /lib/filestorage | |
parent | af214d9dcd0f4c6058c91875e10f38824582aa74 (diff) | |
download | nextcloud-server-f06858689f9709d3859f814ca57dfa54b9ed0865.tar.gz nextcloud-server-f06858689f9709d3859f814ca57dfa54b9ed0865.zip |
revert an accidental change
Diffstat (limited to 'lib/filestorage')
-rw-r--r-- | lib/filestorage/local.php | 5 |
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); |