You are here

protected function PuSHSubscriber::rejectRequest in Feeds 7.2

Rejects a request subscription request.

1 call to PuSHSubscriber::rejectRequest()
PuSHSubscriber::verifyRequest in libraries/PuSHSubscriber.inc
Verify a request. After a hub has received a subscribe or unsubscribe request (see PuSHSubscriber::request()) it sends back a challenge verifying that an action indeed was requested ($_GET['hub_challenge']). This method handles the challenge.

File

libraries/PuSHSubscriber.inc, line 314
Pubsubhubbub subscriber library.

Class

PuSHSubscriber
PubSubHubbub subscriber.

Code

protected function rejectRequest() {
  header('HTTP/1.1 404 "Not Found"', NULL, 404);
  $this
    ->log('Could not verify subscription.', 'error');
  drupal_exit();
}