From b204e7e6a0c7dce1af298b331d8b81362dc1745e Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Fri, 28 Aug 2015 17:53:35 +0200 Subject: [PATCH] ActionController: remove obsolete code --- library/Director/Web/Controller/ActionController.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/library/Director/Web/Controller/ActionController.php b/library/Director/Web/Controller/ActionController.php index 194d7bf0..318786be 100644 --- a/library/Director/Web/Controller/ActionController.php +++ b/library/Director/Web/Controller/ActionController.php @@ -14,17 +14,6 @@ abstract class ActionController extends Controller { 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) { $limit = $this->params->get('limit', $limit);