mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-09-26 03:09:11 +02:00
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…
x
Reference in New Issue
Block a user