mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +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()
|
||||
->add(
|
||||
$this->getTabs()->add(
|
||||
'downtimes',
|
||||
array(
|
||||
'title' => $this->translate(
|
||||
@ -81,7 +80,7 @@ class Monitoring_DowntimesController extends Controller
|
||||
'label' => $this->translate('Downtimes'),
|
||||
'url' =>'monitoring/downtimes/show'
|
||||
)
|
||||
)->activate('downtimes')->extend(new DashboardAction());
|
||||
)->activate('downtimes');
|
||||
|
||||
foreach ($this->downtimes as $downtime) {
|
||||
if (isset($downtime->service_description)) {
|
||||
|
@ -12,6 +12,11 @@ use Icinga\Web\Notification;
|
||||
*/
|
||||
class DeleteDowntimesCommandForm extends CommandForm
|
||||
{
|
||||
/**
|
||||
* The downtimes to delete on success
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $downtimes;
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user