File tree Expand file tree Collapse file tree 2 files changed +0
-34
lines changed
library/Icinga/Application Expand file tree Collapse file tree 2 files changed +0
-34
lines changed Original file line number Diff line number Diff line change @@ -1338,18 +1338,6 @@ protected function registerRoutes()
13381338 foreach ($ this ->routes as $ name => $ route ) {
13391339 $ router ->addRoute ($ name , $ route );
13401340 }
1341- $ router ->addRoute (
1342- $ this ->name . '_jsprovider ' ,
1343- new Zend_Controller_Router_Route (
1344- 'js/ ' . $ this ->name . '/:file ' ,
1345- array (
1346- 'action ' => 'javascript ' ,
1347- 'controller ' => 'static ' ,
1348- 'module ' => 'default ' ,
1349- 'module_name ' => $ this ->name
1350- )
1351- )
1352- );
13531341 $ router ->addRoute (
13541342 $ this ->name . '_img ' ,
13551343 new Zend_Controller_Router_Route_Regex (
Original file line number Diff line number Diff line change @@ -80,7 +80,6 @@ protected function bootstrap()
8080 ->setupModuleManager ()
8181 ->loadSetupModuleIfNecessary ()
8282 ->loadEnabledModules ()
83- ->setupRoute ()
8483 ->setupPagination ()
8584 ->setupUserBackendFactory ()
8685 ->setupUser ()
@@ -117,27 +116,6 @@ public function getThemes()
117116 return array_combine ($ themes , $ themes );
118117 }
119118
120- /**
121- * Prepare routing
122- *
123- * @return $this
124- */
125- private function setupRoute ()
126- {
127- $ this ->frontController ->getRouter ()->addRoute (
128- 'module_javascript ' ,
129- new Zend_Controller_Router_Route (
130- 'js/components/:module_name/:file ' ,
131- array (
132- 'controller ' => 'static ' ,
133- 'action ' => 'javascript '
134- )
135- )
136- );
137-
138- return $ this ;
139- }
140-
141119 /**
142120 * Getter for frontController
143121 *
You can’t perform that action at this time.
0 commit comments