Remove recalculation segment's score from tracking
[MAILPOET-3633]
This commit is contained in:
@@ -36,13 +36,6 @@ class Opens {
|
|||||||
$queue->getId()
|
$queue->getId()
|
||||||
);
|
);
|
||||||
$this->statisticsOpensRepository->recalculateSubscriberScore($subscriber);
|
$this->statisticsOpensRepository->recalculateSubscriberScore($subscriber);
|
||||||
foreach ($newsletter->getNewsletterSegments() as $newsletterSegment) {
|
|
||||||
$segment = $newsletterSegment->getSegment();
|
|
||||||
if (!$segment) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
$this->statisticsOpensRepository->recalculateSegmentScore($segment);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return $this->returnResponse($displayImage);
|
return $this->returnResponse($displayImage);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user