From 60a03580fff65d969faea8e5788b278ed8b15481 Mon Sep 17 00:00:00 2001 From: Klaas Freitag Date: Tue, 14 Feb 2012 09:59:54 +0100 Subject: allow to set a files mtime through a PROPPATCH request on resource 'lastmodified'. Needed for syncing algorithms. --- lib/filesystem.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/filesystem.php') 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); -- cgit v1.2.3