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