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'));