mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
parent
0dfa6a7ba3
commit
3996efc3cf
@ -26,6 +26,9 @@ next (will be 1.8.0)
|
|||||||
### DB Schema
|
### DB Schema
|
||||||
* FIX: Rolling out new installations on MySQL v5.6 fails (#1993)
|
* FIX: Rolling out new installations on MySQL v5.6 fails (#1993)
|
||||||
|
|
||||||
|
### Icinga Configuration
|
||||||
|
* FIX: Render service\_name for Notifications (#2006)
|
||||||
|
|
||||||
1.7.1
|
1.7.1
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
@ -244,6 +244,18 @@ class IcingaNotification extends IcingaObject implements ExportInterface
|
|||||||
return $this->renderRelationProperty('host', $this->get('host_id'), 'host_name');
|
return $this->renderRelationProperty('host', $this->get('host_id'), 'host_name');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Render service_id as service_name
|
||||||
|
*
|
||||||
|
* @codingStandardsIgnoreStart
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function renderService_id()
|
||||||
|
{
|
||||||
|
// @codingStandardsIgnoreEnd
|
||||||
|
return $this->renderRelationProperty('service', $this->get('service_id'), 'service_name');
|
||||||
|
}
|
||||||
|
|
||||||
protected function setKey($key)
|
protected function setKey($key)
|
||||||
{
|
{
|
||||||
if (is_int($key)) {
|
if (is_int($key)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user