DataViewHost/Servicestatus: use hooked columns

This commit is contained in:
Thomas Gelf 2015-11-13 15:09:54 +01:00
parent ff2c96e553
commit 0e709d5469
2 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@ class HostStatus extends DataView
*/ */
public function getColumns() public function getColumns()
{ {
return array( return array_merge($this->getHookedColumns(), array(
'instance_name', 'instance_name',
'host_name', 'host_name',
'host_display_name', 'host_display_name',
@ -63,7 +63,7 @@ class HostStatus extends DataView
'host_problem', 'host_problem',
'host_ipv4', 'host_ipv4',
'host_acknowledgement_type' 'host_acknowledgement_type'
); ));
} }
/** /**

View File

@ -10,7 +10,7 @@ class ServiceStatus extends DataView
*/ */
public function getColumns() public function getColumns()
{ {
return array( return array_merge($this->getHookedColumns(), array(
'instance_name', 'instance_name',
'host_name', 'host_name',
'host_display_name', 'host_display_name',
@ -98,7 +98,7 @@ class ServiceStatus extends DataView
'service_modified_service_attributes', 'service_modified_service_attributes',
'service_host_name', 'service_host_name',
'service_acknowledgement_type', 'service_acknowledgement_type',
); ));
} }
/** /**