Browse Source

Remove unused method.

Prefixes are managed very differently now, this method is not needed
anymore.
mark_story 11 years ago
parent
commit
a1ad72fb0f
1 changed files with 0 additions and 12 deletions
  1. 0 12
      src/Routing/Router.php

+ 0 - 12
src/Routing/Router.php

@@ -164,18 +164,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
  *
  * @return array Named route elements