public function FeedsSource::unlock in Feeds 7.2
Unlocks a feed.
File
- includes/
FeedsSource.inc, line 933 - Definition of FeedsSourceInterface, FeedsState and FeedsSource class.
Class
- FeedsSource
- Holds the source of a feed to import.
Code
public function unlock() {
$this
->clearStates();
$this
->save();
try {
$this
->releaseLock();
} catch (FeedsAccountSwitcherException $exception) {
// Ignore switch back exceptions.
}
}