You are here

public function FeedsHTTPFetcher::sourceSave in Feeds 6

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

Override sourceSave() - subscribe to hub.

Overrides FeedsPlugin::sourceSave

File

plugins/FeedsHTTPFetcher.inc, line 169

Class

FeedsHTTPFetcher
Fetches data via HTTP.

Code

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