Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Fix (un)subscribe operation. The http (un)subscription request was ne…
Browse files Browse the repository at this point in the history
…ver sent to the hub
  • Loading branch information
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PubSubHubbub/Subscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ protected function _doRequest($mode)
}
$client->setUri($url);
$client->setRawBody($this->_getRequestParameters($url, $mode));
$response = $client->getResponse();
$response = $client->send();
if ($response->getStatusCode() !== 204
&& $response->getStatusCode() !== 202
) {
Expand Down

0 comments on commit 0c132e6

Please sign in to comment.