You are here

protected function FeedsSource::releaseLock in Feeds 7.2

Releases a lock for this source.

5 calls to FeedsSource::releaseLock()
FeedsSource::clear in includes/FeedsSource.inc
Remove all items from a feed.
FeedsSource::expire in includes/FeedsSource.inc
Removes all expired items from a feed.
FeedsSource::import in includes/FeedsSource.inc
Import a source: execute fetching, parsing and processing stage.
FeedsSource::pushImport in includes/FeedsSource.inc
Imports a fetcher result all at once in memory.
FeedsSource::unlock in includes/FeedsSource.inc
Unlocks a feed.

File

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

Class

FeedsSource
Holds the source of a feed to import.

Code

protected function releaseLock() {
  lock_release("feeds_source_{$this->id}_{$this->feed_nid}");

  // Switch back to original account.
  $this
    ->switchBack();
}