diff options
author | Klaas Freitag <freitag@owncloud.com> | 2012-02-10 11:30:38 +0100 |
---|---|---|
committer | Klaas Freitag <freitag@owncloud.com> | 2012-02-10 11:30:38 +0100 |
commit | 85853f9ec29be9a2ba92737de204da1469f72dd8 (patch) | |
tree | 754f80507e5c27cf102e6b18ced9e8a473eb069e /lib/filesystemview.php | |
parent | 9379c3e1284d2d9250af4e5d406a7f6803309fad (diff) | |
download | nextcloud-server-85853f9ec29be9a2ba92737de204da1469f72dd8.tar.gz nextcloud-server-85853f9ec29be9a2ba92737de204da1469f72dd8.zip |
- Added the ability to change a files mtime via webdavs propset.
- Added some minor debug help to fscache
Diffstat (limited to 'lib/filesystemview.php')
-rw-r--r-- | lib/filesystemview.php | 3 |
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')); } |