mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-06 13:34:25 +02:00
ActionController: move moduleInit to Module controller
This commit is contained in:
parent
2cd25b7376
commit
de19745eb2
@ -121,7 +121,6 @@ class ActionController extends Zend_Controller_Action
|
||||
}
|
||||
|
||||
$this->view->tabs = new Tabs();
|
||||
$this->moduleInit();
|
||||
$this->init();
|
||||
}
|
||||
|
||||
@ -171,10 +170,6 @@ class ActionController extends Zend_Controller_Action
|
||||
}
|
||||
}
|
||||
|
||||
protected function moduleInit()
|
||||
{
|
||||
}
|
||||
|
||||
protected function reloadCss()
|
||||
{
|
||||
$this->reloadCss = true;
|
||||
|
@ -21,6 +21,7 @@ class ModuleActionController extends ActionController
|
||||
parent::__construct($request, $response, $invokeArgs);
|
||||
$this->moduleName = $request->getModuleName();
|
||||
$this->view->translationDomain = $this->moduleName;
|
||||
$this->moduleInit();
|
||||
}
|
||||
|
||||
public function Config($file = null)
|
||||
@ -41,4 +42,9 @@ class ModuleActionController extends ActionController
|
||||
return $this->configs[$file];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
protected function moduleInit()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user