Skip to content

Commit

Permalink
removes the abtest check, which opens AT to all biz owners (Automatti…
Browse files Browse the repository at this point in the history
  • Loading branch information
rralian authored May 5, 2017
1 parent d83711c commit 54845c6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 16 deletions.
9 changes: 0 additions & 9 deletions client/lib/abtest/active-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,6 @@ module.exports = {
},
defaultVariation: 'original',
},
automatedTransfer2: {
datestamp: '20170316',
variations: {
enabled: 100,
disabled: 0
},
defaultVariation: 'disabled',
allowExistingUsers: false
},
jetpackNoMonthly: {
datestamp: '20170410',
variations: {
Expand Down
5 changes: 1 addition & 4 deletions client/lib/automated-transfer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,5 @@ export function isATEnabled( site ) {
return false;
}

// Gate to 40% roll. If we modify this value, we need a new test name
// in active-tests.js
const abtest = require( 'lib/abtest' ).abtest;
return abtest( 'automatedTransfer2' ) === 'enabled';
return true;
}
6 changes: 3 additions & 3 deletions client/lib/plans/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export const PLANS_LIST = {
strong: <strong className="plans__features plan-features__targeted-description-heading" />
}
} ),
getFeatures: ( abtest ) => compact( [ // pay attention to ordering, shared features should align on /plan page
getFeatures: () => compact( [ // pay attention to ordering, shared features should align on /plan page
FEATURE_CUSTOM_DOMAIN,
FEATURE_JETPACK_ESSENTIAL,
FEATURE_EMAIL_LIVE_CHAT_SUPPORT,
Expand All @@ -207,8 +207,8 @@ export const PLANS_LIST = {
isEnabled( 'publicize-scheduling' ) && FEATURE_REPUBLICIZE_SCHEDULING,
FEATURE_BUSINESS_ONBOARDING,
FEATURE_ADVANCED_SEO,
isEnabled( 'automated-transfer' ) && abtest && abtest( 'automatedTransfer2' ) === 'enabled' && FEATURE_UPLOAD_PLUGINS,
isEnabled( 'automated-transfer' ) && abtest && abtest( 'automatedTransfer2' ) === 'enabled' && FEATURE_UPLOAD_THEMES,
isEnabled( 'automated-transfer' ) && FEATURE_UPLOAD_PLUGINS,
isEnabled( 'automated-transfer' ) && FEATURE_UPLOAD_THEMES,
FEATURE_GOOGLE_ANALYTICS,
FEATURE_NO_BRANDING,
] ),
Expand Down

0 comments on commit 54845c6

Please sign in to comment.