Permalink
Browse files

Update library/Zend/Mvc/Controller/AbstractController.php

Redundant check.
  • Loading branch information...
1 parent 2a398b4 commit 5f420b5fe5c3fd29e41bf9a6ee3c9ec7645b1a93 @gerardroche gerardroche committed Sep 17, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 library/Zend/Mvc/Controller/AbstractController.php
View
4 library/Zend/Mvc/Controller/AbstractController.php
@@ -259,9 +259,7 @@ public function getPluginManager()
public function setPluginManager(PluginManager $plugins)
{
$this->plugins = $plugins;
- if (method_exists($plugins, 'setController')) {
- $this->plugins->setController($this);
- }
+ $this->plugins->setController($this);
return $this;
}

0 comments on commit 5f420b5

Please sign in to comment.