diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/activitymanager.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/activitymanager.php b/lib/private/activitymanager.php index fadfedf277f..6711ff82167 100644 --- a/lib/private/activitymanager.php +++ b/lib/private/activitymanager.php @@ -256,11 +256,11 @@ class ActivityManager implements IManager { foreach ($this->getExtensions() as $c) { $result = $c->getNotificationTypes($languageCode); if (is_array($result)) { - if (class_exists('\OCA\Files\Activity') && $c instanceof \OCA\Files\Activity) { + if (class_exists('\OCA\Files\Activity', false) && $c instanceof \OCA\Files\Activity) { $filesNotificationTypes = $result; continue; } - if (class_exists('\OCA\Files_Sharing\Activity') && $c instanceof \OCA\Files_Sharing\Activity) { + if (class_exists('\OCA\Files_Sharing\Activity', false) && $c instanceof \OCA\Files_Sharing\Activity) { $sharingNotificationTypes = $result; continue; } |