Analytics: clean up old A/B test code & add username verify flag (#10754)
* chore(analytics): clean up old A/B test code & add username verify * fix(lint): more AB cleanup
This commit is contained in:
@@ -200,8 +200,6 @@ function trackCronAnalytics (analytics, user, _progress, options) {
|
||||
|
||||
function awardLoginIncentives (user) {
|
||||
if (user.loginIncentives > MAX_INCENTIVES) return;
|
||||
// A/B test 2016-12-21: Should we deliver notifications for upcoming incentives on days when users don't receive rewards?
|
||||
if (!loginIncentives[user.loginIncentives].rewardKey && user._ABtests && user._ABtests.checkInModals === '20161221_noCheckInPreviews') return;
|
||||
|
||||
// Remove old notifications if they exists
|
||||
user.notifications.forEach((notif, index) => {
|
||||
|
||||
Reference in New Issue
Block a user