summaryrefslogtreecommitdiffstats
path: root/lib/files/cache/updater.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/files/cache/updater.php')
-rw-r--r--lib/files/cache/updater.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/files/cache/updater.php b/lib/files/cache/updater.php
index 3c26ebeb491..92a16d9d9b6 100644
--- a/lib/files/cache/updater.php
+++ b/lib/files/cache/updater.php
@@ -131,6 +131,13 @@ class Updater {
/**
* @param array $params
*/
+ static public function touchHook($params) {
+ self::writeUpdate($params['path']);
+ }
+
+ /**
+ * @param array $params
+ */
static public function renameHook($params) {
self::renameUpdate($params['oldpath'], $params['newpath']);
}