From bdaf334c5359b8e80397d5475f763bb826b274c0 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 16 Nov 2016 12:09:41 +0100 Subject: Move file sharing activities to the new API Signed-off-by: Joas Schilling --- lib/private/Activity/Manager.php | 5 ----- 1 file changed, 5 deletions(-) (limited to 'lib/private/Activity') diff --git a/lib/private/Activity/Manager.php b/lib/private/Activity/Manager.php index 805124dc602..f102d2576fd 100644 --- a/lib/private/Activity/Manager.php +++ b/lib/private/Activity/Manager.php @@ -683,11 +683,6 @@ class Manager implements IManager { foreach ($this->getExtensions() as $c) { $result = $c->getNotificationTypes($languageCode); if (is_array($result)) { - if (class_exists('\OCA\Files_Sharing\Activity', false) && $c instanceof \OCA\Files_Sharing\Activity) { - $sharingNotificationTypes = $result; - continue; - } - $notificationTypes = array_merge($notificationTypes, $result); } } -- cgit v1.2.3