From c54648244e14dec40e20bbb6f6edfb4589e16df7 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Wed, 11 Mar 2015 22:05:23 +0100 Subject: [PATCH] Remove newlines from Web.php --- library/Icinga/Application/Web.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/library/Icinga/Application/Web.php b/library/Icinga/Application/Web.php index 9d6f226b5d..e4e3583c16 100644 --- a/library/Icinga/Application/Web.php +++ b/library/Icinga/Application/Web.php @@ -166,10 +166,8 @@ private function setupZendMvc() 'layoutPath' => $this->getApplicationDir('/layouts/scripts') ) ); - $this->setupFrontController(); $this->setupViewRenderer(); - return $this; } @@ -206,11 +204,9 @@ private function setupSession() private function setupRequest() { $this->request = new Request(); - if ($this->user instanceof User) { $this->request->setUser($this->user); } - return $this; } @@ -222,17 +218,13 @@ private function setupRequest() private function setupFrontController() { $this->frontController = Zend_Controller_Front::getInstance(); - $this->frontController->setRequest($this->request); - $this->frontController->setControllerDirectory($this->getApplicationDir('/controllers')); - $this->frontController->setParams( array( 'displayExceptions' => true ) ); - return $this; } @@ -261,17 +253,14 @@ private function setupViewRenderer() */ private function setupPagination() { - Zend_Paginator::addScrollingStylePrefixPath( 'Icinga_Web_Paginator_ScrollingStyle', 'Icinga/Web/Paginator/ScrollingStyle' ); - Zend_Paginator::setDefaultScrollingStyle('SlidingWithBorder'); Zend_View_Helper_PaginationControl::setDefaultViewPartial( array('mixedPagination.phtml', 'default') ); - return $this; }