public function FeedsHTTPFetcher::importPeriod in Feeds 7.2
Same name and namespace in other branches
- 6 plugins/FeedsHTTPFetcher.inc \FeedsHTTPFetcher::importPeriod()
- 7 plugins/FeedsHTTPFetcher.inc \FeedsHTTPFetcher::importPeriod()
Implement FeedsFetcher::importPeriod().
Overrides FeedsFetcher::importPeriod
File
- plugins/
FeedsHTTPFetcher.inc, line 363
Class
- FeedsHTTPFetcher
- Fetches data via HTTP.
Code
public function importPeriod(FeedsSource $source) {
if ($this
->subscriber($source->feed_nid)
->subscribed()) {
// Delay for three days if there is a successful subscription.
return 259200;
}
}