Skip to content

Commit

Permalink
Merge branch 'hotfix/ViewHelperCleanup'
Browse files Browse the repository at this point in the history
  • Loading branch information
Maks3w committed Jan 2, 2014
2 parents ca59a6c + c542d39 commit db072e7
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion library/Zend/View/Helper/AbstractHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

namespace Zend\View\Helper;

use Zend\View\Helper\HelperInterface;
use Zend\View\Renderer\RendererInterface as Renderer;

abstract class AbstractHelper implements HelperInterface
Expand Down
2 changes: 0 additions & 2 deletions library/Zend/View/Helper/FlashMessenger.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
use Zend\Mvc\Controller\Plugin\FlashMessenger as PluginFlashMessenger;
use Zend\ServiceManager\ServiceLocatorAwareInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
use Zend\View\Helper\AbstractHelper;
use Zend\View\Helper\EscapeHtml;
use Zend\I18n\View\Helper\AbstractTranslatorHelper;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ protected function escape($string)
if ($this->getView() instanceof RendererInterface
&& method_exists($this->getView(), 'getEncoding')
) {
$enc = $this->getView()->getEncoding();
$escaper = $this->getView()->plugin('escapeHtml');
return $escaper((string) $string);
}
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/View/View.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public function render(Model $model)
}

$event->setRenderer($renderer);
$results = $events->trigger(ViewEvent::EVENT_RENDERER_POST, $event);
$events->trigger(ViewEvent::EVENT_RENDERER_POST, $event);

// If EVENT_RENDERER or EVENT_RENDERER_POST changed the model, make sure
// we use this new model instead of the current $model
Expand Down

0 comments on commit db072e7

Please sign in to comment.