summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-09-19 15:01:43 +0200
committerJoas Schilling <coding@schilljs.com>2017-09-19 15:01:43 +0200
commit10c7ecb5e95bea730f96c72fc693620d3494a5dc (patch)
tree24eaa0b0ee35e21a890c2f9a33be05e68518eef2 /apps
parent66698b2d42403ae7ca44c9294ce6da2f382af894 (diff)
downloadnextcloud-server-10c7ecb5e95bea730f96c72fc693620d3494a5dc.tar.gz
nextcloud-server-10c7ecb5e95bea730f96c72fc693620d3494a5dc.zip
Use the wrapper to get the parameters which was added in #6369
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/comments/lib/Activity/Provider.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/comments/lib/Activity/Provider.php b/apps/comments/lib/Activity/Provider.php
index 542785f2cf8..a691d7dd644 100644
--- a/apps/comments/lib/Activity/Provider.php
+++ b/apps/comments/lib/Activity/Provider.php
@@ -113,7 +113,7 @@ class Provider implements IProvider {
* @throws \InvalidArgumentException
*/
protected function parseShortVersion(IEvent $event) {
- $subjectParameters = $event->getSubjectParameters();
+ $subjectParameters = $this->getSubjectParameters($event);
if ($event->getSubject() === 'add_comment_subject') {
if ($subjectParameters['actor'] === $this->activityManager->getCurrentUserId()) {
@@ -139,7 +139,7 @@ class Provider implements IProvider {
* @throws \InvalidArgumentException
*/
protected function parseLongVersion(IEvent $event) {
- $subjectParameters = $event->getSubjectParameters();
+ $subjectParameters = $this->getSubjectParameters($event);
if ($event->getSubject() === 'add_comment_subject') {
if ($subjectParameters['actor'] === $this->activityManager->getCurrentUserId()) {