revert an accidental change
This commit is contained in:
parent
af214d9dcd
commit
f06858689f
|
@ -79,9 +79,8 @@ class OC_Filestorage_Local extends OC_Filestorage{
|
||||||
public function file_get_contents($path){
|
public function file_get_contents($path){
|
||||||
return file_get_contents($this->datadir.$path);
|
return file_get_contents($this->datadir.$path);
|
||||||
}
|
}
|
||||||
public function file_put_contents($path,$data=null){
|
public function file_put_contents($path,$data){
|
||||||
if($return=file_put_contents($this->datadir.$path,$data)){
|
return file_put_contents($this->datadir.$path,$data);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
public function unlink($path){
|
public function unlink($path){
|
||||||
return $this->delTree($path);
|
return $this->delTree($path);
|
||||||
|
|
Loading…
Reference in New Issue