Removing redundant method.

This commit is contained in:
mark_story 2011-02-19 22:26:12 -05:00
parent 897e50b09f
commit 630d0a9887

View file

@ -193,7 +193,7 @@ class CakeRequest implements ArrayAccess {
* *
* @return string URI The CakePHP request path that is being accessed. * @return string URI The CakePHP request path that is being accessed.
*/ */
protected function _uri() { protected function _url() {
$pathInfo = env('PATH_INFO'); $pathInfo = env('PATH_INFO');
if (!empty($pathInfo)) { if (!empty($pathInfo)) {
return $pathInfo; return $pathInfo;
@ -220,16 +220,6 @@ class CakeRequest implements ArrayAccess {
return $uri; 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 * Returns a base URL and sets the proper webroot
* *