summaryrefslogtreecommitdiffstats
path: root/lib/filesystem.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-02-29 23:42:40 +0100
committerRobin Appelman <icewind@owncloud.com>2012-02-29 23:44:05 +0100
commite76e4e75407cc672bf342f13bbd77392a93c1623 (patch)
tree4380736971ed6f68a32fe58de6aae7b199723338 /lib/filesystem.php
parentb23b5aae7fba9467fd0e6b6137268c894ea6f8e8 (diff)
downloadnextcloud-server-e76e4e75407cc672bf342f13bbd77392a93c1623.tar.gz
nextcloud-server-e76e4e75407cc672bf342f13bbd77392a93c1623.zip
add touch() to all storage backands, and make parameter optional
Diffstat (limited to 'lib/filesystem.php')
-rw-r--r--lib/filesystem.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/filesystem.php b/lib/filesystem.php
index 90195bc2130..5013b3968c5 100644
--- a/lib/filesystem.php
+++ b/lib/filesystem.php
@@ -345,7 +345,7 @@ class OC_Filesystem{
static public function filemtime($path){
return self::$defaultInstance->filemtime($path);
}
- static public function touch($path, $mtime){
+ static public function touch($path, $mtime=null){
return self::$defaultInstance->touch($path, $mtime);
}
static public function file_get_contents($path){