mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 23:24:09 +02:00
Fix Zone::IsGlobal()
This commit is contained in:
parent
020bd060c5
commit
a362b5c14c
@ -83,12 +83,7 @@ bool Zone::IsChildOf(const Zone::Ptr& zone)
|
|||||||
|
|
||||||
bool Zone::IsGlobal(void)
|
bool Zone::IsGlobal(void)
|
||||||
{
|
{
|
||||||
Zone::Ptr zone = GetSelf();
|
return GetGlobal();
|
||||||
|
|
||||||
if (!zone)
|
|
||||||
return false;
|
|
||||||
|
|
||||||
return zone->GetGlobal();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Zone::Ptr Zone::GetLocalZone(void)
|
Zone::Ptr Zone::GetLocalZone(void)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user