Code Duplication    Length = 6-6 lines in 2 locations

class.jetpack.php 2 locations

@@ 1544-1549 (lines=6) @@
1541
			'value_bundle-2y',
1542
		);
1543
1544
		if ( in_array( $plan['product_slug'], $premium_plans ) ) {
1545
			$supports[] = 'akismet';
1546
			$supports[] = 'simple-payments';
1547
			$supports[] = 'vaultpress';
1548
			$plan['class'] = 'premium';
1549
		}
1550
1551
		// Define what paid modules are supported by professional plans
1552
		$business_plans = array(
@@ 1560-1565 (lines=6) @@
1557
			'vip',
1558
		);
1559
1560
		if ( in_array( $plan['product_slug'], $business_plans ) ) {
1561
			$supports[] = 'akismet';
1562
			$supports[] = 'simple-payments';
1563
			$supports[] = 'vaultpress';
1564
			$plan['class'] = 'business';
1565
		}
1566
1567
		// get available features
1568
		foreach ( self::get_available_modules() as $module_slug ) {