Code Duplication    Length = 7-7 lines in 2 locations

class.jetpack.php 2 locations

@@ 1517-1523 (lines=7) @@
1514
			'value_bundle-2y',
1515
		);
1516
1517
		if ( in_array( $plan['product_slug'], $premium_plans ) ) {
1518
			$supports[] = 'akismet';
1519
			$supports[] = 'simple-payments';
1520
			$supports[] = 'vaultpress';
1521
			$supports[] = 'videopress';
1522
			$plan['class'] = 'premium';
1523
		}
1524
1525
		// Define what paid modules are supported by professional plans
1526
		$business_plans = array(
@@ 1534-1540 (lines=7) @@
1531
			'vip',
1532
		);
1533
1534
		if ( in_array( $plan['product_slug'], $business_plans ) ) {
1535
			$supports[] = 'akismet';
1536
			$supports[] = 'simple-payments';
1537
			$supports[] = 'vaultpress';
1538
			$supports[] = 'videopress';
1539
			$plan['class'] = 'business';
1540
		}
1541
1542
		// get available features
1543
		foreach ( self::get_available_modules() as $module_slug ) {