public function FeedsHTTPFetcher::clear in Feeds 7.2
Same name and namespace in other branches
- 6 plugins/FeedsHTTPFetcher.inc \FeedsHTTPFetcher::clear()
- 7 plugins/FeedsHTTPFetcher.inc \FeedsHTTPFetcher::clear()
Clear caches.
Overrides FeedsFetcher::clear
File
- plugins/
FeedsHTTPFetcher.inc, line 142
Class
- FeedsHTTPFetcher
- Fetches data via HTTP.
Code
public function clear(FeedsSource $source) {
$source_config = $source
->getConfigFor($this);
$url = $source_config['source'];
feeds_include_library('http_request.inc', 'http_request');
http_request_clear_cache($url);
}