ActionController: remove obsolete code
This commit is contained in:
parent
9d921eece6
commit
b204e7e6a0
|
@ -14,17 +14,6 @@ abstract class ActionController extends Controller
|
||||||
{
|
{
|
||||||
protected $db;
|
protected $db;
|
||||||
|
|
||||||
protected $forcedMonitoring = false;
|
|
||||||
|
|
||||||
public function init()
|
|
||||||
{
|
|
||||||
// TODO: this is obsolete I guess
|
|
||||||
$m = Icinga::app()->getModuleManager();
|
|
||||||
if (! $m->hasLoaded('monitoring') && $m->hasInstalled('monitoring')) {
|
|
||||||
$m->loadModule('monitoring');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
protected function applyPaginationLimits(Paginatable $paginatable, $limit = 25, $offset = null)
|
protected function applyPaginationLimits(Paginatable $paginatable, $limit = 25, $offset = null)
|
||||||
{
|
{
|
||||||
$limit = $this->params->get('limit', $limit);
|
$limit = $this->params->get('limit', $limit);
|
||||||
|
|
Loading…
Reference in New Issue