mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
IcingadbSupportHook: Rename missing method call
Rename `isSetAsBackend()` to `isIcingaDbSetAsPreferredBackend()`
This commit is contained in:
parent
003d60033f
commit
4f156b76dc
1 changed files with 2 additions and 1 deletions
|
|
@ -47,6 +47,7 @@ abstract class IcingadbSupportHook
|
|||
*/
|
||||
final public static function useIcingaDbAsBackend(): bool
|
||||
{
|
||||
return ! Icinga::app()->getModuleManager()->hasEnabled('monitoring') || self::isSetAsBackend();
|
||||
return ! Icinga::app()->getModuleManager()->hasEnabled('monitoring')
|
||||
|| self::isIcingaDbSetAsPreferredBackend();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue