Permalink
Browse files

Removing duplicate condition check. Fixes #314

  • Loading branch information...
1 parent 63ab96d commit 9eb195064674851e630a4323eb8ce6b1f2e827f3 @markstory markstory committed Nov 17, 2009
Showing with 0 additions and 4 deletions.
  1. +0 −4 cake/libs/router.php
View
4 cake/libs/router.php
@@ -581,10 +581,6 @@ function __parseExtension($url) {
* @access private
*/
function __connectDefaultRoutes() {
- if ($this->__defaultsMapped) {
- return;
- }
-
if ($this->__admin) {
$params = array('prefix' => $this->__admin, $this->__admin => true);
}

0 comments on commit 9eb1950

Please sign in to comment.