From 6918b70ec3ee177f3325e915dac0d528bd527543 Mon Sep 17 00:00:00 2001 From: Jose Lorenzo Rodriguez Date: Mon, 20 Feb 2012 16:49:16 -0430 Subject: [PATCH] REmoving usage of deprecated ThemeView --- lib/Cake/Routing/Dispatcher.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/Cake/Routing/Dispatcher.php b/lib/Cake/Routing/Dispatcher.php index 98af0e72b..52be0b4fe 100644 --- a/lib/Cake/Routing/Dispatcher.php +++ b/lib/Cake/Routing/Dispatcher.php @@ -218,12 +218,9 @@ class Dispatcher { if (!file_exists($filename)) { $filename = CACHE . 'views' . DS . $path . '_index.php'; } - if (file_exists($filename)) { - App::uses('ThemeView', 'View'); - $controller = null; - $view = new ThemeView($controller); + $view = new View($controller); return $view->renderCache($filename, microtime(true)); } }