From 9eb195064674851e630a4323eb8ce6b1f2e827f3 Mon Sep 17 00:00:00 2001 From: mark_story Date: Mon, 16 Nov 2009 20:10:08 -0500 Subject: [PATCH] Removing duplicate condition check. Fixes #314 --- cake/libs/router.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cake/libs/router.php b/cake/libs/router.php index 579b3ff4a..6bb72b440 100644 --- a/cake/libs/router.php +++ b/cake/libs/router.php @@ -581,10 +581,6 @@ class Router extends Object { * @access private */ function __connectDefaultRoutes() { - if ($this->__defaultsMapped) { - return; - } - if ($this->__admin) { $params = array('prefix' => $this->__admin, $this->__admin => true); }