public function FeedsHTTPFetcher::unsubscribe in Feeds 7
Same name and namespace in other branches
- 6 plugins/FeedsHTTPFetcher.inc \FeedsHTTPFetcher::unsubscribe()
- 7.2 plugins/FeedsHTTPFetcher.inc \FeedsHTTPFetcher::unsubscribe()
Implement FeedsFetcher::unsubscribe() - unsubscribe from hub.
Overrides FeedsFetcher::unsubscribe
1 call to FeedsHTTPFetcher::unsubscribe()
- FeedsHTTPFetcher::sourceDelete in plugins/
FeedsHTTPFetcher.inc - Override sourceDelete() - unsubscribe from hub.
File
- plugins/
FeedsHTTPFetcher.inc, line 189
Class
- FeedsHTTPFetcher
- Fetches data via HTTP.
Code
public function unsubscribe(FeedsSource $source) {
$source_config = $source
->getConfigFor($this);
$this
->subscriber($source->feed_nid)
->unsubscribe($source_config['source'], url($this
->path($source->feed_nid), array(
'absolute' => TRUE,
)));
}