summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-02-08 11:55:50 +0100
committerJoas Schilling <coding@schilljs.com>2017-02-08 11:55:50 +0100
commit54e39d4b93b36d38c5f46ef5de4711de48baa0af (patch)
tree7672054367c323c4fa9e3cad92d3f558a23249dd /apps/files
parentd79838ac9b2feb61ab2d07961f7679d882383c9e (diff)
downloadnextcloud-server-54e39d4b93b36d38c5f46ef5de4711de48baa0af.tar.gz
nextcloud-server-54e39d4b93b36d38c5f46ef5de4711de48baa0af.zip
Fix files sharing legacy as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/lib/Activity/Provider.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/files/lib/Activity/Provider.php b/apps/files/lib/Activity/Provider.php
index 624021177fa..3efab382640 100644
--- a/apps/files/lib/Activity/Provider.php
+++ b/apps/files/lib/Activity/Provider.php
@@ -251,7 +251,7 @@ class Provider implements IProvider {
}
/**
- * @param $parameter
+ * @param array|string $parameter
* @param IEvent|null $event
* @return array
* @throws \InvalidArgumentException
@@ -277,6 +277,10 @@ class Provider implements IProvider {
];
}
+ /**
+ * @param string $uid
+ * @return array
+ */
protected function getUser($uid) {
if (!isset($this->displayNames[$uid])) {
$this->displayNames[$uid] = $this->getDisplayName($uid);