parent
a1a8d4c157
commit
5ade338632
|
@ -36,7 +36,7 @@ class ModulesController extends ActionController
|
|||
|
||||
public function init()
|
||||
{
|
||||
$this->manager = Icinga::app()->moduleManager();
|
||||
$this->manager = Icinga::app()->getModuleManager();
|
||||
}
|
||||
|
||||
public function indexAction()
|
||||
|
|
|
@ -17,7 +17,7 @@ class StaticController extends ActionController
|
|||
|
||||
private function getModuleList()
|
||||
{
|
||||
$modules = Icinga::app()->moduleManager()->getLoadedModules();
|
||||
$modules = Icinga::app()->getModuleManager()->getLoadedModules();
|
||||
|
||||
// preliminary static definition
|
||||
$result = array();
|
||||
|
|
|
@ -299,7 +299,7 @@ class ActionController extends ZfController
|
|||
|
||||
$css = $less->compileFile($cssdir . '/pdfprint.less');
|
||||
/*
|
||||
foreach (\Icinga\Application\Icinga::app()->moduleManager()->getLoadedModules() as $name => $module) {
|
||||
foreach (\Icinga\Application\Icinga::app()->getModuleManager()->getLoadedModules() as $name => $module) {
|
||||
if ($module->hasCss()) {
|
||||
$css .= $less->compile(
|
||||
'.icinga-module.module-'
|
||||
|
|
|
@ -46,7 +46,7 @@ class Form extends AbstractWidget
|
|||
$module_name = null;
|
||||
}
|
||||
if ($module_name !== null) {
|
||||
$fname = $app->moduleManager()->getModule($module_name)->getBaseDir()
|
||||
$fname = $app->getModuleManager()->getModule($module_name)->getBaseDir()
|
||||
. '/application/forms/'
|
||||
. implode('/', $fparts)
|
||||
. 'Form.php';
|
||||
|
|
Loading…
Reference in New Issue