mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-25 18:59:04 +02:00
Conform to coding guidelines
This commit is contained in:
parent
1586275521
commit
3187975553
@ -70,8 +70,7 @@ class Monitoring_DowntimesController extends Controller
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->getTabs()
|
$this->getTabs()->add(
|
||||||
->add(
|
|
||||||
'downtimes',
|
'downtimes',
|
||||||
array(
|
array(
|
||||||
'title' => $this->translate(
|
'title' => $this->translate(
|
||||||
@ -81,7 +80,7 @@ class Monitoring_DowntimesController extends Controller
|
|||||||
'label' => $this->translate('Downtimes'),
|
'label' => $this->translate('Downtimes'),
|
||||||
'url' =>'monitoring/downtimes/show'
|
'url' =>'monitoring/downtimes/show'
|
||||||
)
|
)
|
||||||
)->activate('downtimes')->extend(new DashboardAction());
|
)->activate('downtimes');
|
||||||
|
|
||||||
foreach ($this->downtimes as $downtime) {
|
foreach ($this->downtimes as $downtime) {
|
||||||
if (isset($downtime->service_description)) {
|
if (isset($downtime->service_description)) {
|
||||||
|
@ -12,6 +12,11 @@ use Icinga\Web\Notification;
|
|||||||
*/
|
*/
|
||||||
class DeleteDowntimesCommandForm extends CommandForm
|
class DeleteDowntimesCommandForm extends CommandForm
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* The downtimes to delete on success
|
||||||
|
*
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
protected $downtimes;
|
protected $downtimes;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user