Code Duplication    Length = 6-6 lines in 2 locations

class.jetpack.php 2 locations

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