Fix wrong getter after renaming

refs #4066
This commit is contained in:
Marius Hein 2013-07-30 14:00:58 +02:00 committed by Eric Lippmann
parent a1a8d4c157
commit 5ade338632
4 changed files with 4 additions and 4 deletions

View File

@ -36,7 +36,7 @@ class ModulesController extends ActionController
public function init()
{
$this->manager = Icinga::app()->moduleManager();
$this->manager = Icinga::app()->getModuleManager();
}
public function indexAction()

View File

@ -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();

View File

@ -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-'

View File

@ -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';