You are here

public function FeedsHTTPFetcher::clear in Feeds 6

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

Clear caches.

Overrides FeedsFetcher::clear

File

plugins/FeedsHTTPFetcher.inc, line 58

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);
}