public function FeedsFileFetcher::sourceDelete in Feeds 7.2
Same name and namespace in other branches
- 7 plugins/FeedsFileFetcher.inc \FeedsFileFetcher::sourceDelete()
Overrides parent::sourceDelete().
Overrides FeedsPlugin::sourceDelete
File
- plugins/
FeedsFileFetcher.inc, line 200 - 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);
}
}