From b93aa586f4636c3863745056ccf0f498fe61ab7f Mon Sep 17 00:00:00 2001
From: Joas Schilling <coding@schilljs.com>
Date: Thu, 7 Feb 2019 14:12:17 +0100
Subject: [PATCH] Fix wrong method call

Signed-off-by: Joas Schilling <coding@schilljs.com>
---
 apps/sharebymail/lib/ShareByMailProvider.php | 1 -
 1 file changed, 1 deletion(-)

diff --git a/apps/sharebymail/lib/ShareByMailProvider.php b/apps/sharebymail/lib/ShareByMailProvider.php
index 4af9b26d043..30b3dc79169 100644
--- a/apps/sharebymail/lib/ShareByMailProvider.php
+++ b/apps/sharebymail/lib/ShareByMailProvider.php
@@ -264,7 +264,6 @@ class ShareByMailProvider implements IShareProvider {
 			$ownerPath = $nodes[0]->getPath();
 			$this->publishActivity(
 				$type === 'share' ? Activity::SUBJECT_SHARED_EMAIL_BY : Activity::SUBJECT_UNSHARED_EMAIL_BY,
-				Activity::SUBJECT_SHARED_EMAIL_BY,
 				[$ownerFolder->getRelativePath($ownerPath), $share->getSharedWith(), $share->getSharedBy()],
 				$share->getShareOwner(),
 				$fileId,
-- 
GitLab