mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Fix detection of Notifiers
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
44bc697a93
commit
865c12aa0e
1 changed files with 3 additions and 11 deletions
|
|
@ -43,22 +43,14 @@ class Manager implements IManager {
|
|||
|
||||
/** @var IApp[] */
|
||||
protected $apps;
|
||||
|
||||
/** @var INotifier[] */
|
||||
protected $notifiers;
|
||||
|
||||
/** @var array[] */
|
||||
protected $notifiersInfo;
|
||||
|
||||
/** @var string[] */
|
||||
protected $appClasses;
|
||||
|
||||
/** @var INotifier[] */
|
||||
protected $notifiers;
|
||||
/** @var string[] */
|
||||
protected $notifierClasses;
|
||||
|
||||
/** @var \Closure[] */
|
||||
protected $notifiersInfoClosures;
|
||||
|
||||
/** @var bool */
|
||||
protected $preparingPushNotification;
|
||||
|
||||
|
|
@ -167,7 +159,7 @@ class Manager implements IManager {
|
|||
* @since 8.2.0
|
||||
*/
|
||||
public function hasNotifiers(): bool {
|
||||
return !empty($this->notifiersClosures);
|
||||
return !empty($this->notifiers) || !empty($this->notifierClasses);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue