Skip to content

Commit

Permalink
fix(desktop-notifications-poc): remove obsolete code
Browse files Browse the repository at this point in the history
  • Loading branch information
ncosta-ic committed Apr 25, 2024
1 parent 4db47c4 commit dc6b10b
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions application/controllers/IncidentController.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,6 @@ public function indexAction(): void
);
}

$this->setTitle(t('Incident'));
$this->getTabs()->activate('incident');
$this->addContent(new IncidentDetail($incident));
}

public function getTabs(): Tabs
{
return parent::getTabs()
->add('incident', [
'label' => $this->translate('Incident'),
'url' => Links::incident($this->id)
]);
}
}

0 comments on commit dc6b10b

Please sign in to comment.