IcingaHost/Service: fix boolean array

This commit is contained in:
Thomas Gelf 2015-12-18 12:07:26 +01:00
parent 80a757847d
commit 4e7856bc80
2 changed files with 18 additions and 18 deletions

View File

@ -51,16 +51,16 @@ class IcingaHost extends IcingaObject
); );
protected $booleans = array( protected $booleans = array(
'enable_notifications', 'enable_notifications' => 'enable_notifications',
'enable_active_checks', 'enable_active_checks' => 'enable_active_checks',
'enable_passive_checks', 'enable_passive_checks' => 'enable_passive_checks',
'enable_event_handler', 'enable_event_handler' => 'enable_event_handler',
'enable_flapping', 'enable_flapping' => 'enable_flapping',
'enable_perfdata', 'enable_perfdata' => 'enable_perfdata',
'volatile', 'volatile' => 'volatile',
'has_agent', 'has_agent' => 'has_agent',
'master_should_connect', 'master_should_connect' => 'master_should_connect',
'accept_config' 'accept_config' => 'accept_config'
); );
protected $supportsCustomVars = true; protected $supportsCustomVars = true;

View File

@ -46,14 +46,14 @@ class IcingaService extends IcingaObject
); );
protected $booleans = array( protected $booleans = array(
'enable_notifications', 'enable_notifications' => 'enable_notifications',
'enable_active_checks', 'enable_active_checks' => 'enable_active_checks',
'enable_passive_checks', 'enable_passive_checks' => 'enable_passive_checks',
'enable_event_handler', 'enable_event_handler' => 'enable_event_handler',
'enable_flapping', 'enable_flapping' => 'enable_flapping',
'enable_perfdata', 'enable_perfdata' => 'enable_perfdata',
'volatile', 'volatile' => 'volatile',
'use_agent', 'use_agent' => 'use_agent',
); );
protected $supportsGroups = true; protected $supportsGroups = true;