Skip to content

Commit

Permalink
Remove unused method.
Browse files Browse the repository at this point in the history
Prefixes are managed very differently now, this method is not needed
anymore.
  • Loading branch information
markstory committed Jul 7, 2014
1 parent ae65898 commit a1ad72f
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/Routing/Router.php
Expand Up @@ -163,18 +163,6 @@ class Router {
*/
protected static $_urlFilters = [];

/**
* Sets the Routing prefixes.
*
* @return void
*/
protected static function _setPrefixes() {
$routing = Configure::read('Routing');
if (!empty($routing['prefixes'])) {
static::$_prefixes = array_merge(static::$_prefixes, (array)$routing['prefixes']);
}
}

/**
* Gets the named route patterns for use in app/Config/routes.php
*
Expand Down

0 comments on commit a1ad72f

Please sign in to comment.