mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Removing duplicate condition check. Fixes #314
This commit is contained in:
parent
63ab96d751
commit
9eb1950646
1 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue