From edeaa0a4a18fab9f3ab0ec333a1e399a56f8d985 Mon Sep 17 00:00:00 2001 From: Klaas Freitag Date: Tue, 13 Mar 2012 13:04:00 +0100 Subject: [PATCH] Fix call of function touch --- lib/filesystem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'));