From a1ad72fb0f24c4be6380947f7a5fb6a798c7ed1e Mon Sep 17 00:00:00 2001 From: mark_story Date: Sun, 6 Jul 2014 21:15:17 -0400 Subject: [PATCH] Remove unused method. Prefixes are managed very differently now, this method is not needed anymore. --- src/Routing/Router.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/Routing/Router.php b/src/Routing/Router.php index e87310861ef..5a67342532c 100644 --- a/src/Routing/Router.php +++ b/src/Routing/Router.php @@ -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 *