public function process() { $this->setStatus(Ess_M2ePro_Model_Connector_Server_Amazon_Product_Requester::STATUS_SUCCESS); $this->setIsProcessingItems(false); if (count($this->listingsProducts) <= 0) { return; } $this->setIsProcessingItems(true); $this->updateOrLockListings(); parent::process(); $this->checkUnlockListings(); }
protected function getRequestInfo() { if (isset($this->cache['request_info'])) { return $this->cache['request_info']; } if (!isset($this->params['__request_info__']) || !is_array($this->params['__request_info__']) || count($this->params['__request_info__']) <= 0) { $this->cache['request_info'] = parent::getRequestInfo(); } else { $this->cache['request_info'] = $this->params['__request_info__']; unset($this->params['__request_info__']); } return $this->cache['request_info']; }
public function process() { parent::process(); $this->deleteProcessedChanges(); }