summaryrefslogtreecommitdiffstats
path: root/lib/filesystemview.php
diff options
context:
space:
mode:
authorKlaas Freitag <freitag@owncloud.com>2012-02-14 09:59:54 +0100
committerKlaas Freitag <freitag@owncloud.com>2012-02-14 09:59:54 +0100
commit60a03580fff65d969faea8e5788b278ed8b15481 (patch)
tree7b2286bbcf87cca0d52c348f8ef0116f4c055e53 /lib/filesystemview.php
parentd10f4f071d8a51128e0b8056e9af414af98cf833 (diff)
downloadnextcloud-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/filesystemview.php')
-rw-r--r--lib/filesystemview.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/filesystemview.php b/lib/filesystemview.php
index 0f1c546f4c5..91c6cd17720 100644
--- a/lib/filesystemview.php
+++ b/lib/filesystemview.php
@@ -156,8 +156,8 @@ class OC_FilesystemView {
public function filemtime($path){
return $this->basicOperation('filemtime',$path);
}
- public function setFileMtime($path, $mtime){
- return $this->basicOperation('setFileMtime',$path, array('write'), $mtime);
+ public function touch($path, $mtime){
+ return $this->basicOperation('touch', $path, array('write'), $mtime);
}
public function file_get_contents($path){
return $this->basicOperation('file_get_contents',$path,array('read'));