mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-09-26 19:29:01 +02:00
20 lines
622 B
PHP
20 lines
622 B
PHP
<?php
|
|
|
|
use Icinga\Module\Director\IcingaConfig\IcingaConfig;
|
|
use Icinga\Module\Director\Util;
|
|
use Icinga\Module\Director\Web\Controller\ActionController;
|
|
|
|
class Director_ShowController extends ActionController
|
|
{
|
|
public function activitylogAction()
|
|
{
|
|
if ($id = $this->params->get('id')) {
|
|
$this->view->entry = $this->db()->fetchActivityLogEntryById($id);
|
|
} elseif ($checksum = $this->params->get('checksum')) {
|
|
$this->view->entry = $this->db()->fetchActivityLogEntry(Util::hex2binary($checksum));
|
|
}
|
|
|
|
$this->view->title = $this->translate('Activity');
|
|
}
|
|
}
|