Skip to content
Permalink
Browse files

REmoving usage of deprecated ThemeView

  • Loading branch information...
lorenzo committed Feb 20, 2012
1 parent 02fa1ae commit 6918b70ec3ee177f3325e915dac0d528bd527543
Showing with 1 addition and 4 deletions.
  1. +1 −4 lib/Cake/Routing/Dispatcher.php
@@ -218,12 +218,9 @@ public function cached($path) {
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));
}
}

0 comments on commit 6918b70

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