mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-23 22:04:25 +02:00
parent
2a4fdd12d7
commit
6cdad7c5c1
@ -874,9 +874,13 @@ class Module
|
|||||||
'urlParams' => array('name' => $this->getName()),
|
'urlParams' => array('name' => $this->getName()),
|
||||||
'label' => 'Module: ' . $this->getName()
|
'label' => 'Module: ' . $this->getName()
|
||||||
));
|
));
|
||||||
foreach ($this->configTabs as $name => $config) {
|
|
||||||
$tabs->add($name, $config);
|
if ($this->app->getModuleManager()->hasEnabled($this->name)) {
|
||||||
|
foreach ($this->configTabs as $name => $config) {
|
||||||
|
$tabs->add($name, $config);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return $tabs;
|
return $tabs;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user