Fix call of function touch

This commit is contained in:
Klaas Freitag 2012-03-13 13:04:00 +01:00
parent 2528778651
commit edeaa0a4a1

View file

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