Removing duplicate condition check. Fixes #314

This commit is contained in:
mark_story 2009-11-16 20:10:08 -05:00
parent 63ab96d751
commit 9eb1950646

View file

@ -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);
}