Code Duplication    Length = 7-7 lines in 2 locations

class.jetpack.php 2 locations

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