diff options
author | Klaas Freitag <freitag@owncloud.com> | 2012-03-13 16:04:00 +0400 |
---|---|---|
committer | Klaas Freitag <freitag@owncloud.com> | 2012-03-13 16:04:00 +0400 |
commit | edeaa0a4a18fab9f3ab0ec333a1e399a56f8d985 (patch) | |
tree | 0664166fa6a451c7d79a0c7eb42f3f7667d0b2fb | |
parent | 252877865104c4d455249ade5ae7de737d69a2f3 (diff) |
Fix call of function touch
-rw-r--r-- | lib/filesystem.php | 2 |
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')); |