You are here

public function FeedsUserProcessor::clear in Feeds 7

Same name and namespace in other branches
  1. 6 plugins/FeedsUserProcessor.inc \FeedsUserProcessor::clear()

Implements FeedsProcessor::clear().

Overrides FeedsProcessor::clear

File

plugins/FeedsUserProcessor.inc, line 87
FeedsUserProcessor class.

Class

FeedsUserProcessor
Feeds processor plugin. Create users from feed items.

Code

public function clear(FeedsBatch $batch, FeedsSource $source) {

  // Do not support deleting users as we have no way of knowing which ones we
  // imported.
  throw new Exception(t('User processor does not support deleting users.'));
}