mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 22:04:25 +02:00
Load ticket hook for event details
This commit is contained in:
parent
e5af1684a0
commit
893617ef96
@ -40,6 +40,13 @@ class EventController extends Controller
|
|||||||
'dt_end' => 'downtimeevent'
|
'dt_end' => 'downtimeevent'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
public function init()
|
||||||
|
{
|
||||||
|
if (Hook::has('ticket')) {
|
||||||
|
$this->view->tickets = Hook::first('ticket');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public function showAction()
|
public function showAction()
|
||||||
{
|
{
|
||||||
$type = $this->params->shiftRequired('type');
|
$type = $this->params->shiftRequired('type');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user