Skip to content

Commit

Permalink
Plans: launch plans redesign to production (Automattic#7054)
Browse files Browse the repository at this point in the history
* launch plans redesign to production

* adds back check for config setting

I'm not sure we can enable this across the board. Will need to check on desktop first.
  • Loading branch information
rralian authored Jul 27, 2016
1 parent d65688d commit 262aec6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 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 @@ -51,15 +51,6 @@ module.exports = {
},
defaultVariation: 'singlePurchaseFlow'
},
planFeatures: {
datestamp: '20160720',
variations: {
original: 50,
show: 50
},
defaultVariation: 'original',
allowExistingUsers: false
},
signupStore: {
datestamp: '20160707',
variations: {
Expand Down
3 changes: 1 addition & 2 deletions client/lib/plans/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import {
} from 'lib/plans/constants';
import { createSitePlanObject } from 'state/sites/plans/assembler';
import SitesList from 'lib/sites-list';
import { abtest } from 'lib/abtest';

/**
* Module vars
Expand Down Expand Up @@ -184,7 +183,7 @@ export function filterPlansBySiteAndProps( plans, site, hideFreePlan, intervalTy
}

export const isPlanFeaturesEnabled = () => {
return isEnabled( 'manage/plan-features' ) && abtest( 'planFeatures' ) === 'show';
return isEnabled( 'manage/plan-features' );
};

export function plansLink( url, site, intervalType ) {
Expand Down

0 comments on commit 262aec6

Please sign in to comment.