[icinga-checkins] icinga.org: icingaweb2-module-director/master: ListController: get rid of global import history

git at icinga.org git at icinga.org
Mon Jun 27 09:17:10 CEST 2016


Module: icingaweb2-module-director
Branch: master
Commit: 4c70a61060a0783c94f46c8f1d880b027c9353bb
URL:    https://git.icinga.org/?p=icingaweb2-module-director.git;a=commit;h=4c70a61060a0783c94f46c8f1d880b027c9353bb

Author: Thomas Gelf <thomas at gelf.net>
Date:   Sun Jun 26 15:48:39 2016 +0200

ListController: get rid of global import history

---

 application/controllers/ListController.php           |    8 --------
 library/Director/Web/Controller/ActionController.php |    6 ------
 2 files changed, 14 deletions(-)

diff --git a/application/controllers/ListController.php b/application/controllers/ListController.php
index 699a437..f48d54d 100644
--- a/application/controllers/ListController.php
+++ b/application/controllers/ListController.php
@@ -21,14 +21,6 @@ class ListController extends ActionController
         $this->prepareAndRenderTable('importsource');
     }
 
-    public function importrunAction()
-    {
-        $this->setImportTabs()->activate('importrun');
-        $this->view->title = $this->translate('Import runs');
-        $this->view->stats = $this->db()->fetchImportStatistics();
-        $this->prepareAndRenderTable('importrun');
-    }
-
     public function syncruleAction()
     {
         $this->view->addLink = $this->view->qlink(
diff --git a/library/Director/Web/Controller/ActionController.php b/library/Director/Web/Controller/ActionController.php
index d5dfd07..aa6c859 100644
--- a/library/Director/Web/Controller/ActionController.php
+++ b/library/Director/Web/Controller/ActionController.php
@@ -141,12 +141,6 @@ abstract class ActionController extends Controller
                 'url'   => 'director/list/importsource'
             )
         )->add(
-            'importrun',
-            array(
-                'label' => $this->translate('Import history'),
-                'url'   => 'director/list/importrun'
-            )
-        )->add(
             'syncrule',
             array(
                 'label' => $this->translate('Sync rule'),



More information about the icinga-checkins mailing list