public function FeedImportSQLHashes::updateCommit in Feed Import 7.3
Commits the update to storage.
Overrides FeedImportHashManager::updateCommit
File
- feed_import_base/
inc/ feed_import.inc, line 1928 - This file contains Feed Import helpers.
Class
- FeedImportSQLHashes
- This class implements SQL hash storage
Code
public function updateCommit() {
if ($this->toUpdate) {
$this
->_update($this->updateIds, $this->ttl ? $this->ttl + time() : 0);
$this->toUpdate = 0;
}
if ($this->toProtect) {
$this
->_update($this->protectIds, static::MARK_PROTECTED);
$this->toProtect = 0;
}
}