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
diff options
context:
space:
mode:
authorKlaas Freitag <freitag@owncloud.com>2012-03-13 16:04:00 +0400
committerKlaas Freitag <freitag@owncloud.com>2012-03-13 16:04:00 +0400
commitedeaa0a4a18fab9f3ab0ec333a1e399a56f8d985 (patch)
tree0664166fa6a451c7d79a0c7eb42f3f7667d0b2fb
parent252877865104c4d455249ade5ae7de737d69a2f3 (diff)
Fix call of function touch
-rw-r--r--lib/filesystem.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/filesystem.php b/lib/filesystem.php
index 4dfdbc719dc..583aa38c83c 100644
--- a/lib/filesystem.php
+++ b/lib/filesystem.php
@@ -370,7 +370,7 @@ class OC_Filesystem{
return self::basicOperation('fileatime',$path);
}
static public function touch($path, $mtime=null){
- return self::$defaultInstance->touch($path, $mtime);
+ return self::basicOperation('touch',$path,array($mtime));
}
static public function file_get_contents($path){
return self::basicOperation('file_get_contents',$path,array('read'));