mirror of
https://github.com/nextcloud/server.git
synced 2026-02-18 18:28:50 -05:00
fix(notifications): Fix check for hasNotifiers when all apps use RegistrationContext
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
e8ee8d3a27
commit
21f9ea09de
1 changed files with 3 additions and 1 deletions
|
|
@ -207,7 +207,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