[icinga-checkins] icinga.org: icingaweb2-module-director/feature/nested-apply-rules-12033: run.php: remove screenshot routes

git at icinga.org git at icinga.org
Fri Oct 21 10:08:04 CEST 2016


Module: icingaweb2-module-director
Branch: feature/nested-apply-rules-12033
Commit: 7b5468a2637d501d91850b4566828338b3408d35
URL:    https://git.icinga.org/?p=icingaweb2-module-director.git;a=commit;h=7b5468a2637d501d91850b4566828338b3408d35

Author: Thomas Gelf <thomas at gelf.net>
Date:   Thu Oct 13 13:13:06 2016 +0000

run.php: remove screenshot routes

This has been fixed in Icinga Web 2 in the meantime. Older versions
might not see screenshots in there doc module, but that's something
I can live with :p

fixes #12918

---

 run.php |   14 --------------
 1 file changed, 14 deletions(-)

diff --git a/run.php b/run.php
index 0b6cf2d..9c2ae56 100644
--- a/run.php
+++ b/run.php
@@ -42,17 +42,3 @@ $this->provideHook('director/Job', $prefix . 'Job\\HousekeepingJob');
 $this->provideHook('director/Job', $prefix . 'Job\\ConfigJob');
 $this->provideHook('director/Job', $prefix . 'Job\\ImportJob');
 $this->provideHook('director/Job', $prefix . 'Job\\SyncJob');
-
-if (Icinga::app()->isCli()) {
-    return;
-}
-
-$screenshotRoute = new Zend_Controller_Router_Route(
-    'screenshot/director/:subdir/:file',
-    array(
-        'module'        => 'director',
-        'controller'    => 'screenshot',
-    )
-);
-
-$this->addRoute('screenshot/director', $screenshotRoute);



More information about the icinga-checkins mailing list