diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-02-29 23:42:40 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-02-29 23:44:05 +0100 |
commit | e76e4e75407cc672bf342f13bbd77392a93c1623 (patch) | |
tree | 4380736971ed6f68a32fe58de6aae7b199723338 /lib/filesystemview.php | |
parent | b23b5aae7fba9467fd0e6b6137268c894ea6f8e8 (diff) | |
download | nextcloud-server-e76e4e75407cc672bf342f13bbd77392a93c1623.tar.gz nextcloud-server-e76e4e75407cc672bf342f13bbd77392a93c1623.zip |
add touch() to all storage backands, and make parameter optional
Diffstat (limited to 'lib/filesystemview.php')
-rw-r--r-- | lib/filesystemview.php | 2 |
1 files changed, 1 insertions, 1 deletions
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){ |