diff --git a/lib/Notification/AppHint.php b/lib/Notification/AppHint.php index 1fa62d072..c7d18f4cb 100644 --- a/lib/Notification/AppHint.php +++ b/lib/Notification/AppHint.php @@ -58,7 +58,7 @@ public function __construct(INotificationManager $notificationManager, IGroupMan public function sendAppHintNotifications(): void { if ($this->userId !== null && $this->groupManager->isAdmin($this->userId) && $this->config->getUserValue($this->userId, 'firstrunwizard', 'apphint') !== self::APP_HINT_VERSION) { $this->sendNotification('groupfolders', $this->userId); - $this->sendNotification('social', $this->userId); + //$this->sendNotification('social', $this->userId); $this->sendNotification('notes', $this->userId); $this->sendNotification('deck', $this->userId); $this->sendNotification('tasks', $this->userId); diff --git a/lib/Notification/Notifier.php b/lib/Notification/Notifier.php index 5ee2115ed..b0d49f7bc 100644 --- a/lib/Notification/Notifier.php +++ b/lib/Notification/Notifier.php @@ -112,7 +112,7 @@ public function prepare(INotification $notification, string $languageCode): INot case 'apphint-tasks': case 'apphint-deck': case 'apphint-notes': - case 'apphint-social': + //case 'apphint-social': case 'apphint-groupfolders': $app = $notification->getObjectId(); return $this->setAppHintDetails($notification, $languageCode, $app); @@ -194,11 +194,11 @@ protected function setAppHintDetails(INotification $notification, $languageCode, $notification->setParsedMessage($l->t('Distraction-free notes and writing.')); $appLink = '/organization/notes'; break; - case 'social': - $notification->setParsedSubject($l->t('App recommendation: Social')); - $notification->setParsedMessage($l->t('Nextcloud becomes part of the federated social networks.')); - $appLink = '/social/social'; - break; + // case 'social': + // $notification->setParsedSubject($l->t('App recommendation: Social')); + // $notification->setParsedMessage($l->t('Nextcloud becomes part of the federated social networks.')); + // $appLink = '/social/social'; + // break; case 'groupfolders': $notification->setParsedSubject($l->t('App recommendation: Group folders')); $notification->setParsedMessage($l->t('Admin-configured folders shared by everyone in a group.'));