diff options
author | Klaas Freitag <freitag@owncloud.com> | 2012-02-14 09:59:54 +0100 |
---|---|---|
committer | Klaas Freitag <freitag@owncloud.com> | 2012-02-14 09:59:54 +0100 |
commit | 60a03580fff65d969faea8e5788b278ed8b15481 (patch) | |
tree | 7b2286bbcf87cca0d52c348f8ef0116f4c055e53 /lib/filesystem.php | |
parent | d10f4f071d8a51128e0b8056e9af414af98cf833 (diff) | |
download | nextcloud-server-60a03580fff65d969faea8e5788b278ed8b15481.tar.gz nextcloud-server-60a03580fff65d969faea8e5788b278ed8b15481.zip |
allow to set a files mtime through a PROPPATCH request on resource
'lastmodified'. Needed for syncing algorithms.
Diffstat (limited to 'lib/filesystem.php')
-rw-r--r-- | lib/filesystem.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/filesystem.php b/lib/filesystem.php index 75997c244ff..90195bc2130 100644 --- a/lib/filesystem.php +++ b/lib/filesystem.php @@ -345,8 +345,8 @@ class OC_Filesystem{ static public function filemtime($path){ return self::$defaultInstance->filemtime($path); } - static public function setFileMtime($path, $mtime){ - return self::$defaultInstance->setFileMtime($path, $mtime); + static public function touch($path, $mtime){ + return self::$defaultInstance->touch($path, $mtime); } static public function file_get_contents($path){ return self::$defaultInstance->file_get_contents($path); |