fix small bug in filesystem abstraction
This commit is contained in:
parent
a3940dc628
commit
653c6e5984
|
@ -283,8 +283,7 @@ class OC_FILESYSTEM{
|
||||||
}
|
}
|
||||||
static public function file_put_contents($path,$data){
|
static public function file_put_contents($path,$data){
|
||||||
if(self::canWrite($path) and $storage=self::getStorage($path)){
|
if(self::canWrite($path) and $storage=self::getStorage($path)){
|
||||||
$this->notifyObservers($path,OC_FILEACTION_WRITE | OC_FILEACTION_CREATE);
|
return $storage->file_put_contents(self::getInternalPath($path),$data);
|
||||||
return $storage->file_put_contents(self::getInternalPath($path));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
static public function unlink($path){
|
static public function unlink($path){
|
||||||
|
|
Loading…
Reference in New Issue