You are here

protected function FeedsSource::clearStates in Feeds 7.2

Clears states.

3 calls to FeedsSource::clearStates()
FeedsSource::clear in includes/FeedsSource.inc
Remove all items from a feed.
FeedsSource::finishImport in includes/FeedsSource.inc
Cleans up after an import.
FeedsSource::unlock in includes/FeedsSource.inc
Unlocks a feed.

File

includes/FeedsSource.inc, line 748
Definition of FeedsSourceInterface, FeedsState and FeedsSource class.

Class

FeedsSource
Holds the source of a feed to import.

Code

protected function clearStates() {
  $this->state = array();
  $this->fetcher_result = NULL;
}