summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-10-14 15:45:10 +0200
committerRobin Appelman <icewind@owncloud.com>2014-10-24 12:32:55 +0200
commit6ed9f53fcdba3ec4b3e934f731ea0437329ab9b0 (patch)
tree0a844a0b7c0d83042014ded4290bad2bff3d8495 /apps/files_sharing/lib
parent0a3f57f832213d5b4f6678581d7c2bc8d6832542 (diff)
downloadnextcloud-server-6ed9f53fcdba3ec4b3e934f731ea0437329ab9b0.tar.gz
nextcloud-server-6ed9f53fcdba3ec4b3e934f731ea0437329ab9b0.zip
also update shared watcher
Diffstat (limited to 'apps/files_sharing/lib')
-rw-r--r--apps/files_sharing/lib/watcher.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/files_sharing/lib/watcher.php b/apps/files_sharing/lib/watcher.php
index 11d3ce1cabd..5357119ab6c 100644
--- a/apps/files_sharing/lib/watcher.php
+++ b/apps/files_sharing/lib/watcher.php
@@ -30,9 +30,11 @@ class Shared_Watcher extends Watcher {
* check $path for updates
*
* @param string $path
+ * @param array $cachedEntry
+ * @return boolean true if path was updated
*/
- public function checkUpdate($path) {
- if (parent::checkUpdate($path) === true) {
+ public function checkUpdate($path, $cachedEntry = null) {
+ if (parent::checkUpdate($path, $cachedEntry) === true) {
// since checkUpdate() has already updated the size of the subdirs,
// only apply the update to the owner's parent dirs