Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
solarium
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
solarium
Commits
a57e5234
Commit
a57e5234
authored
Nov 29, 2011
by
Gasol Wu
Committed by
Bas de Nooijer
Dec 05, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove dead code
parent
eeceb85b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
5 deletions
+0
-5
library/Solarium/Client/Adapter/PeclHttp.php
library/Solarium/Client/Adapter/PeclHttp.php
+0
-4
tests/Solarium/Client/Adapter/PeclHttpTest.php
tests/Solarium/Client/Adapter/PeclHttpTest.php
+0
-1
No files found.
library/Solarium/Client/Adapter/PeclHttp.php
View file @
a57e5234
...
...
@@ -79,10 +79,6 @@ class Solarium_Client_Adapter_PeclHttp extends Solarium_Client_Adapter
throw
new
Solarium_Client_HttpException
(
$e
->
getMessage
());
}
if
(
$error
=
$httpRequest
->
getResponseInfo
(
'error'
))
{
throw
new
Solarium_Client_HttpException
(
$error
);
}
return
new
Solarium_Client_Response
(
$httpMessage
->
getBody
(),
$this
->
_toRawHeaders
(
$httpMessage
)
...
...
tests/Solarium/Client/Adapter/PeclHttpTest.php
View file @
a57e5234
...
...
@@ -137,7 +137,6 @@ HTTP/1.1 $statusCode $statusMessage
$body
EOF;
$message
=
new
HttpMessage
(
$data
);
$request
=
new
Solarium_Client_Request
();
$mockHttpRequest
=
$this
->
getMock
(
'HttpRequest'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment