Browse Source

fix small bug in filesystem abstraction

tags/v3.0
Robin Appelman 13 years ago
parent
commit
653c6e5984
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      inc/lib_filesystem.php

+ 1
- 2
inc/lib_filesystem.php View File

@@ -283,8 +283,7 @@ class OC_FILESYSTEM{
}
static public function file_put_contents($path,$data){
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));
return $storage->file_put_contents(self::getInternalPath($path),$data);
}
}
static public function unlink($path){

Loading…
Cancel
Save