diff options
author | Robin Appelman <icewind1991@gmail.com> | 2010-10-18 16:21:47 +0000 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2010-10-18 16:29:10 +0000 |
commit | 653c6e5984d7d163c120db71831807b90b51c0f6 (patch) | |
tree | d3b2a483f3f0c0735efdf384332aa91120fd7eec | |
parent | a3940dc6283cce920068ae67a566a802f5f57284 (diff) | |
download | nextcloud-server-653c6e5984d7d163c120db71831807b90b51c0f6.tar.gz nextcloud-server-653c6e5984d7d163c120db71831807b90b51c0f6.zip |
fix small bug in filesystem abstraction
-rw-r--r-- | inc/lib_filesystem.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/inc/lib_filesystem.php b/inc/lib_filesystem.php index 60201825e06..a64d2ba599b 100644 --- a/inc/lib_filesystem.php +++ b/inc/lib_filesystem.php @@ -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){ |