Code Duplication    Length = 7-7 lines in 2 locations

class.jetpack.php 2 locations

@@ 1607-1613 (lines=7) @@
1604
			'value_bundle-2y',
1605
		);
1606
1607
		if ( in_array( $plan['product_slug'], $premium_plans ) ) {
1608
			$supports[] = 'akismet';
1609
			$supports[] = 'simple-payments';
1610
			$supports[] = 'vaultpress';
1611
			$supports[] = 'videopress';
1612
			$plan['class'] = 'premium';
1613
		}
1614
1615
		// Define what paid modules are supported by professional plans
1616
		$business_plans = array(
@@ 1624-1630 (lines=7) @@
1621
			'vip',
1622
		);
1623
1624
		if ( in_array( $plan['product_slug'], $business_plans ) ) {
1625
			$supports[] = 'akismet';
1626
			$supports[] = 'simple-payments';
1627
			$supports[] = 'vaultpress';
1628
			$supports[] = 'videopress';
1629
			$plan['class'] = 'business';
1630
		}
1631
1632
		// get available features
1633
		foreach ( self::get_available_modules() as $module_slug ) {