Code Duplication    Length = 9-11 lines in 2 locations

class.jetpack.php 2 locations

@@ 1306-1314 (lines=9) @@
1303
			'value_bundle',
1304
		);
1305
1306
		if ( in_array( $plan['product_slug'], $premium_plans ) ) {
1307
			$plan['supports'] = array(
1308
				'videopress',
1309
				'akismet',
1310
				'vaultpress',
1311
				'wordads',
1312
			);
1313
			$plan['class'] = 'premium';
1314
		}
1315
1316
		// Define what paid modules are supported by professional plans
1317
		$business_plans = array(
@@ 1323-1333 (lines=11) @@
1320
			'business-bundle',
1321
		);
1322
1323
		if ( in_array( $plan['product_slug'], $business_plans ) ) {
1324
			$plan['supports'] = array(
1325
				'videopress',
1326
				'akismet',
1327
				'vaultpress',
1328
				'seo-tools',
1329
				'google-analytics',
1330
				'wordads',
1331
			);
1332
			$plan['class'] = 'business';
1333
		}
1334
1335
		// Make sure we have an array here in the event database data is stale
1336
		if ( ! isset( $plan['supports'] ) ) {