mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
CompatService: Add method fetchHost()
Quick-fix for code accessing property `$host` directly. It's protected, though `__get()` still permits access.
This commit is contained in:
parent
823e91f70e
commit
ca371fdca2
1 changed files with 5 additions and 0 deletions
|
|
@ -150,4 +150,9 @@ class CompatService extends Service
|
|||
|
||||
return $this->host;
|
||||
}
|
||||
|
||||
protected function fetchHost()
|
||||
{
|
||||
$this->getHost();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue