From 630d0a988760982a0c60402a95ed51cdead9a9d3 Mon Sep 17 00:00:00 2001 From: mark_story Date: Sat, 19 Feb 2011 22:26:12 -0500 Subject: [PATCH] Removing redundant method. --- cake/libs/cake_request.php | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/cake/libs/cake_request.php b/cake/libs/cake_request.php index d49900365..4e6ba423d 100644 --- a/cake/libs/cake_request.php +++ b/cake/libs/cake_request.php @@ -193,7 +193,7 @@ class CakeRequest implements ArrayAccess { * * @return string URI The CakePHP request path that is being accessed. */ - protected function _uri() { + protected function _url() { $pathInfo = env('PATH_INFO'); if (!empty($pathInfo)) { return $pathInfo; @@ -220,16 +220,6 @@ class CakeRequest implements ArrayAccess { return $uri; } -/** - * Returns and sets the $_GET[url] derived from the REQUEST_URI - * - * @return string URL - */ - protected function _url() { - $url = $this->_uri(); - return $url; - } - /** * Returns a base URL and sets the proper webroot *