public function preInsert(PropelPDO $con = null) { if ($this->getPartnerId() === Partner::MEDIA_SERVER_PARTNER_ID) { $this->setDc(kDataCenterMgr::getCurrentDcId()); } return parent::preInsert($con); }
public function preInsert(PropelPDO $con = null) { if ($this->getPartnerId() === Partner::MEDIA_SERVER_PARTNER_ID) { $this->setDc(kDataCenterMgr::getCurrentDcId()); } return parent::preInsert($con); }