diff --git a/lib/Cake/View/View.php b/lib/Cake/View/View.php index 7a6751602..45a1b70ab 100644 --- a/lib/Cake/View/View.php +++ b/lib/Cake/View/View.php @@ -1008,17 +1008,6 @@ class View extends Object { } } } - $defaultPath = $paths[0]; - - if ($this->plugin) { - $pluginPaths = App::path('plugins'); - foreach ($paths as $path) { - if (strpos($path, $pluginPaths[0]) === 0) { - $defaultPath = $path; - break; - } - } - } throw new MissingViewException(array('file' => $name . $this->ext)); }