Code Duplication    Length = 7-7 lines in 2 locations

class.jetpack.php 2 locations

@@ 1624-1630 (lines=7) @@
1621
			'value_bundle-2y',
1622
		);
1623
1624
		if ( in_array( $plan['product_slug'], $premium_plans ) ) {
1625
			$supports[] = 'akismet';
1626
			$supports[] = 'simple-payments';
1627
			$supports[] = 'vaultpress';
1628
			$supports[] = 'videopress';
1629
			$plan['class'] = 'premium';
1630
		}
1631
1632
		// Define what paid modules are supported by professional plans
1633
		$business_plans = array(
@@ 1643-1649 (lines=7) @@
1640
			'vip',
1641
		);
1642
1643
		if ( in_array( $plan['product_slug'], $business_plans ) ) {
1644
			$supports[] = 'akismet';
1645
			$supports[] = 'simple-payments';
1646
			$supports[] = 'vaultpress';
1647
			$supports[] = 'videopress';
1648
			$plan['class'] = 'business';
1649
		}
1650
1651
		// get available features
1652
		foreach ( self::get_available_modules() as $module_slug ) {