Merge pull request #7 from aschamberger/master

Sync Server with Client
This commit is contained in:
Christian Kerl 2012-05-22 12:00:17 -07:00
commit 51e6f0f689

View File

@ -113,9 +113,6 @@ class SoapKernel
*/ */
public function filterRequest(SoapRequest $request) public function filterRequest(SoapRequest $request)
{ {
$request->setAttachments($this->attachments);
$this->attachments = array();
foreach ($this->requestFilters as $filter) { foreach ($this->requestFilters as $filter) {
$filter->filterRequest($request); $filter->filterRequest($request);
} }
@ -131,7 +128,5 @@ class SoapKernel
foreach ($this->responseFilters as $filter) { foreach ($this->responseFilters as $filter) {
$filter->filterResponse($response); $filter->filterResponse($response);
} }
$this->attachments = $response->getAttachments();
} }
} }