mirror of
https://github.com/nextcloud/server.git
synced 2026-03-08 18:28:16 +01: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:
committed by
backportbot[bot]
parent
e8ee8d3a27
commit
21f9ea09de
@@ -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()));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user