mirror of
https://github.com/nextcloud/server.git
synced 2026-03-10 10:21:38 -04:00
Merge pull request #53365 from nextcloud/backport/53314/stable31
[stable31] fix(notifications): Fix check for hasNotifiers when all apps use Regi…
This commit is contained in:
commit
ce720e5f18
1 changed files with 3 additions and 1 deletions
|
|
@ -209,7 +209,9 @@ class Manager implements IManager {
|
|||
* @since 8.2.0
|
||||
*/
|
||||
public function hasNotifiers(): bool {
|
||||
return !empty($this->notifiers) || !empty($this->notifierClasses);
|
||||
return !empty($this->notifiers)
|
||||
|| !empty($this->notifierClasses)
|
||||
|| (!$this->parsedRegistrationContext && !empty($this->coordinator->getRegistrationContext()->getNotifierServices()));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue