public function unsetProcessingLocks(Ess_M2ePro_Model_Processing_Request $processingRequest) { parent::unsetProcessingLocks($processingRequest); /** @var $lockItem Ess_M2ePro_Model_LockItem */ $lockItem = Mage::getModel('M2ePro/LockItem'); $tempNick = Ess_M2ePro_Model_Play_Synchronization_OtherListings::LOCK_ITEM_PREFIX; $tempNick .= '_' . $this->params['account_id']; $lockItem->setNick($tempNick); $lockItem->setMaxInactiveTime(Ess_M2ePro_Model_Processing_Request::MAX_LIFE_TIME_INTERVAL); $lockItem->remove(); $this->getAccount()->deleteObjectLocks(NULL, $processingRequest->getHash()); $this->getAccount()->deleteObjectLocks('synchronization', $processingRequest->getHash()); $this->getAccount()->deleteObjectLocks('synchronization_play', $processingRequest->getHash()); $this->getAccount()->deleteObjectLocks(Ess_M2ePro_Model_Play_Synchronization_OtherListings::LOCK_ITEM_PREFIX, $processingRequest->getHash()); }