Code Duplication    Length = 6-6 lines in 2 locations

class.jetpack.php 2 locations

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