Skip to content
Permalink
Browse files

Removing duplicate calls to Inflector.

  • Loading branch information...
markstory committed Nov 14, 2010
1 parent 9b08b72 commit c7fed2ecba1f0db47fecf0fb4009c4afe9a68a5e
Showing with 2 additions and 2 deletions.
  1. +2 −2 cake/libs/view/view.php
@@ -711,7 +711,7 @@ protected function _getViewFileName($name = null) {
$name = $this->viewPath . DS . $subDir . $name;
}
}
$paths = $this->_paths(Inflector::underscore($this->plugin));
$paths = $this->_paths($this->plugin);
$exts = array($this->ext);
if ($this->ext !== '.ctp') {
@@ -754,7 +754,7 @@ protected function _getLayoutFileName($name = null) {
if (!is_null($this->layoutPath)) {
$subDir = $this->layoutPath . DS;
}
$paths = $this->_paths(Inflector::underscore($this->plugin));
$paths = $this->_paths($this->plugin);
$file = 'layouts' . DS . $subDir . $name;
$exts = array($this->ext);

0 comments on commit c7fed2e

Please sign in to comment.
You can’t perform that action at this time.