You are here

public function FeedsHTTPFetcher::sourceDelete in Feeds 6

Same name and namespace in other branches
  1. 7.2 plugins/FeedsHTTPFetcher.inc \FeedsHTTPFetcher::sourceDelete()
  2. 7 plugins/FeedsHTTPFetcher.inc \FeedsHTTPFetcher::sourceDelete()

Override sourceDelete() - unsubscribe from hub.

Overrides FeedsPlugin::sourceDelete

File

plugins/FeedsHTTPFetcher.inc, line 178

Class

FeedsHTTPFetcher
Fetches data via HTTP.

Code

public function sourceDelete(FeedsSource $source) {
  if ($this->config['use_pubsubhubbub']) {
    $this
      ->unsubscribe($source);
  }
}