Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2010-10-18 20:21:47 +0400
committerRobin Appelman <icewind1991@gmail.com>2010-10-18 20:29:10 +0400
commit653c6e5984d7d163c120db71831807b90b51c0f6 (patch)
treed3b2a483f3f0c0735efdf384332aa91120fd7eec /inc
parenta3940dc6283cce920068ae67a566a802f5f57284 (diff)
fix small bug in filesystem abstraction
Diffstat (limited to 'inc')
-rw-r--r--inc/lib_filesystem.php3
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){