Skip to content

Commit 51e6fe1

Browse files
author
Nicholas Hagen
authored
Issue fuel#2153
Remove resetting the parameters and options after executing the soap request.
1 parent 5475daa commit 51e6fe1

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

classes/request/soap.php

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -145,29 +145,14 @@ public function execute(array $additional_params = array())
145145
$mime = $this->response_info('content_type', 'application/soap+xml');
146146
$this->set_response($body, $this->response_info('http_code', 200), $mime, $headers, isset($this->headers['Accept']) ? $this->headers['Accept'] : null);
147147

148-
$this->set_defaults();
149148
return $this;
150149
}
151150
catch (\SoapFault $e)
152151
{
153-
$this->set_defaults();
154152
throw new \RequestException($e->getMessage(), $e->getCode(), $e);
155153
}
156154
}
157155

158-
/**
159-
* Extends parent to reset headers as well
160-
*
161-
* @return Request_Soap
162-
*/
163-
protected function set_defaults()
164-
{
165-
parent::set_defaults();
166-
$this->function = '';
167-
168-
return $this;
169-
}
170-
171156
/**
172157
* Get functions defined in WSDL
173158
*

0 commit comments

Comments
 (0)