Code Duplication    Length = 6-6 lines in 2 locations

class.jetpack.php 2 locations

@@ 1508-1513 (lines=6) @@
1505
			'value_bundle',
1506
		);
1507
1508
		if ( in_array( $plan['product_slug'], $premium_plans ) ) {
1509
			$supports[] = 'akismet';
1510
			$supports[] = 'simple-payments';
1511
			$supports[] = 'vaultpress';
1512
			$plan['class'] = 'premium';
1513
		}
1514
1515
		// Define what paid modules are supported by professional plans
1516
		$business_plans = array(
@@ 1523-1528 (lines=6) @@
1520
			'vip',
1521
		);
1522
1523
		if ( in_array( $plan['product_slug'], $business_plans ) ) {
1524
			$supports[] = 'akismet';
1525
			$supports[] = 'simple-payments';
1526
			$supports[] = 'vaultpress';
1527
			$plan['class'] = 'business';
1528
		}
1529
1530
		// get available features
1531
		foreach ( self::get_available_modules() as $module_slug ) {