From d16dd1ad2aaeb322cd3b1f40dcf367de968cf701 Mon Sep 17 00:00:00 2001 From: Björn Schießle Date: Mon, 25 Mar 2013 16:26:17 +0100 Subject: listen to touch hook to update the mtime after sync --- lib/files/cache/updater.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/files/cache') 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 @@ -128,6 +128,13 @@ class Updater { self::writeUpdate($params['path']); } + /** + * @param array $params + */ + static public function touchHook($params) { + self::writeUpdate($params['path']); + } + /** * @param array $params */ -- cgit v1.2.3