-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable nextcloud notifications warning
- Loading branch information
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- nextcloud/core/Controller/LoginController.php 2023-10-26 19:21:37.000000000 +0200 | ||
+++ nextcloud/core/Controller/LoginController.php 2024-01-25 16:17:32.161511093 +0100 | ||
@@ -148,12 +148,6 @@ | ||
} | ||
|
||
$loginMessages = $this->session->get('loginMessages'); | ||
- if (!$this->manager->isFairUseOfFreePushService()) { | ||
- if (!is_array($loginMessages)) { | ||
- $loginMessages = [[], []]; | ||
- } | ||
- $loginMessages[1][] = $this->l10n->t('This community release of Nextcloud is unsupported and push notifications are limited.'); | ||
- } | ||
if (is_array($loginMessages)) { | ||
[$errors, $messages] = $loginMessages; | ||
$this->initialStateService->provideInitialState('core', 'loginMessages', $messages); |