You are here

public function FeedsFileFetcher::sourceDelete in Feeds 7

Same name and namespace in other branches
  1. 7.2 plugins/FeedsFileFetcher.inc \FeedsFileFetcher::sourceDelete()

Override parent::sourceDelete().

Overrides FeedsPlugin::sourceDelete

File

plugins/FeedsFileFetcher.inc, line 129
Home of the FeedsFileFetcher and related classes.

Class

FeedsFileFetcher
Fetches data via HTTP.

Code

public function sourceDelete(FeedsSource $source) {
  $source_config = $source
    ->getConfigFor($this);
  if (isset($source_config['fid'])) {
    $this
      ->deleteFile($source_config['fid'], $source->feed_nid);
  }
}