mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
IcingaCommand: render methods_execute as execute
This commit is contained in:
parent
24fff442e0
commit
eaea917c1f
@ -2,6 +2,8 @@
|
||||
|
||||
namespace Icinga\Module\Director\Objects;
|
||||
|
||||
use Icinga\Module\Director\IcingaConfigHelper as c;
|
||||
|
||||
class IcingaCommand extends IcingaObject
|
||||
{
|
||||
protected $table = 'icinga_command';
|
||||
@ -15,4 +17,10 @@ class IcingaCommand extends IcingaObject
|
||||
'zone_id' => null,
|
||||
'object_type' => null,
|
||||
);
|
||||
|
||||
protected function renderMethods_execute()
|
||||
{
|
||||
// Execute is a reserved word in SQL, column name was prefixed
|
||||
return c::renderKeyValue('execute', $this->methods_execute, ' ');
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user