From e76e4e75407cc672bf342f13bbd77392a93c1623 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Wed, 29 Feb 2012 23:42:40 +0100 Subject: add touch() to all storage backands, and make parameter optional --- lib/filesystemview.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/filesystemview.php') diff --git a/lib/filesystemview.php b/lib/filesystemview.php index 5996a5f60fb..2d54a676c8c 100644 --- a/lib/filesystemview.php +++ b/lib/filesystemview.php @@ -163,7 +163,7 @@ class OC_FilesystemView { public function filemtime($path){ return $this->basicOperation('filemtime',$path); } - public function touch($path, $mtime){ + public function touch($path, $mtime=null){ return $this->basicOperation('touch', $path, array('write'), $mtime); } public function file_get_contents($path){ -- cgit v1.2.3