예제 #1
0
 /**
  * @param LeadChangeEvent $event
  */
 public function onLeadChange(LeadChangeEvent $event)
 {
     $this->factory->getModel('asset')->getDownloadRepository()->updateLeadByTrackingId($event->getNewLead()->getId(), $event->getNewTrackingId(), $event->getOldTrackingId());
 }
예제 #2
0
 /**
  * @param LeadChangeEvent $event
  */
 public function onLeadChange(LeadChangeEvent $event)
 {
     $this->pageModel->getHitRepository()->updateLeadByTrackingId($event->getNewLead()->getId(), $event->getNewTrackingId(), $event->getOldTrackingId());
 }