summaryrefslogtreecommitdiffstats
path: root/lib/filesystemview.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/filesystemview.php')
-rw-r--r--lib/filesystemview.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/filesystemview.php b/lib/filesystemview.php
index 4586507a811..0f1c546f4c5 100644
--- a/lib/filesystemview.php
+++ b/lib/filesystemview.php
@@ -156,6 +156,9 @@ 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 file_get_contents($path){
return $this->basicOperation('file_get_contents',$path,array('read'));
}