REmoving usage of deprecated ThemeView

This commit is contained in:
Jose Lorenzo Rodriguez 2012-02-20 16:49:16 -04:30
parent 02fa1ae60b
commit 6918b70ec3

View file

@ -218,12 +218,9 @@ class Dispatcher {
if (!file_exists($filename)) { if (!file_exists($filename)) {
$filename = CACHE . 'views' . DS . $path . '_index.php'; $filename = CACHE . 'views' . DS . $path . '_index.php';
} }
if (file_exists($filename)) { if (file_exists($filename)) {
App::uses('ThemeView', 'View');
$controller = null; $controller = null;
$view = new ThemeView($controller); $view = new View($controller);
return $view->renderCache($filename, microtime(true)); return $view->renderCache($filename, microtime(true));
} }
} }