summaryrefslogtreecommitdiffstats
path: root/lib/filesystem.php
diff options
context:
space:
mode:
authorKlaas Freitag <freitag@owncloud.com>2012-02-10 11:30:38 +0100
committerKlaas Freitag <freitag@owncloud.com>2012-02-10 11:30:38 +0100
commit85853f9ec29be9a2ba92737de204da1469f72dd8 (patch)
tree754f80507e5c27cf102e6b18ced9e8a473eb069e /lib/filesystem.php
parent9379c3e1284d2d9250af4e5d406a7f6803309fad (diff)
downloadnextcloud-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/filesystem.php')
-rw-r--r--lib/filesystem.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/filesystem.php b/lib/filesystem.php
index a18072ecbc2..75997c244ff 100644
--- a/lib/filesystem.php
+++ b/lib/filesystem.php
@@ -345,6 +345,9 @@ 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 file_get_contents($path){
return self::$defaultInstance->file_get_contents($path);
}