chore(news): Bailey

also conclude email A/B testing
This commit is contained in:
Sabe Jones
2019-04-18 14:15:28 -05:00
parent c91de90fff
commit f16e0bd044
9 changed files with 20 additions and 44 deletions

View File

@@ -130,14 +130,6 @@ function _setUpNewUser (user) {
user.purchased.background.violet = true;
user.preferences.background = 'violet';
const testGroup = Math.random();
if (testGroup < 0.5) {
user._ABtests.welcomeEmailSplit = 'welcome-v2b';
} else {
user._ABtests.welcomeEmailSplit = 'welcome';
}
if (user.registeredThrough === 'habitica-web') {
taskTypes = ['habit', 'daily', 'todo', 'reward', 'tag'];