EndpointController: remove obsolete init()
This commit is contained in:
parent
a870ab1f1d
commit
cea6baa331
|
@ -6,12 +6,4 @@ use Icinga\Module\Director\Web\Controller\ObjectController;
|
|||
|
||||
class EndpointController extends ObjectController
|
||||
{
|
||||
public function init()
|
||||
{
|
||||
$this->assertPermission('director/inspect');
|
||||
parent::init();
|
||||
if ($this->object && $this->object->hasApiUser()) {
|
||||
$params['endpoint'] = $this->object->object_name;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue