mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Removing redundant method.
This commit is contained in:
parent
897e50b09f
commit
630d0a9887
1 changed files with 1 additions and 11 deletions
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue