mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-05 11:02:40 +00:00
Minor optimization in HttpSocket::reset().
This commit is contained in:
parent
151ea2804f
commit
33bb253dfa
1 changed files with 1 additions and 3 deletions
|
@ -1120,13 +1120,11 @@ class HttpSocket extends CakeSocket {
|
|||
if (empty($initalState)) {
|
||||
$initalState = get_class_vars(__CLASS__);
|
||||
}
|
||||
if ($full == false) {
|
||||
if (!$full) {
|
||||
$this->request = $initalState['request'];
|
||||
$this->response = $initalState['response'];
|
||||
return true;
|
||||
}
|
||||
$this->_auth = array();
|
||||
$this->_proxy = array();
|
||||
parent::reset($initalState);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue