mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Removing unused and untested feature.
This commit is contained in:
parent
982437595e
commit
9a1858367f
1 changed files with 1 additions and 4 deletions
|
@ -103,7 +103,7 @@ class CakeRequest implements ArrayAccess {
|
|||
* @param array $additionalParams Additional parameters that are melded with other request parameters
|
||||
* @return void
|
||||
*/
|
||||
public function __construct($url = null, $additionalParams = array()) {
|
||||
public function __construct($url = null) {
|
||||
$this->base = $this->_base();
|
||||
if (empty($url)) {
|
||||
$url = $this->_url();
|
||||
|
@ -117,9 +117,6 @@ class CakeRequest implements ArrayAccess {
|
|||
$this->_processGet();
|
||||
$this->_processFiles();
|
||||
|
||||
if (!empty($additionalParams)) {
|
||||
$this->params = array_merge($this->params, $additionalParams);
|
||||
}
|
||||
$this->here = $this->base . '/' . $this->url;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue