Code Duplication    Length = 6-6 lines in 2 locations

class.jetpack.php 2 locations

@@ 1537-1542 (lines=6) @@
1534
			'value_bundle-2y',
1535
		);
1536
1537
		if ( in_array( $plan['product_slug'], $premium_plans ) ) {
1538
			$supports[] = 'akismet';
1539
			$supports[] = 'simple-payments';
1540
			$supports[] = 'vaultpress';
1541
			$plan['class'] = 'premium';
1542
		}
1543
1544
		// Define what paid modules are supported by professional plans
1545
		$business_plans = array(
@@ 1553-1558 (lines=6) @@
1550
			'vip',
1551
		);
1552
1553
		if ( in_array( $plan['product_slug'], $business_plans ) ) {
1554
			$supports[] = 'akismet';
1555
			$supports[] = 'simple-payments';
1556
			$supports[] = 'vaultpress';
1557
			$plan['class'] = 'business';
1558
		}
1559
1560
		// get available features
1561
		foreach ( self::get_available_modules() as $module_slug ) {