Code Duplication    Length = 9-11 lines in 2 locations

class.jetpack.php 2 locations

@@ 1333-1341 (lines=9) @@
1330
			'value_bundle',
1331
		);
1332
1333
		if ( in_array( $plan['product_slug'], $premium_plans ) ) {
1334
			$plan['supports'] = array(
1335
				'videopress',
1336
				'akismet',
1337
				'vaultpress',
1338
				'wordads',
1339
			);
1340
			$plan['class'] = 'premium';
1341
		}
1342
1343
		// Define what paid modules are supported by professional plans
1344
		$business_plans = array(
@@ 1350-1360 (lines=11) @@
1347
			'business-bundle',
1348
		);
1349
1350
		if ( in_array( $plan['product_slug'], $business_plans ) ) {
1351
			$plan['supports'] = array(
1352
				'videopress',
1353
				'akismet',
1354
				'vaultpress',
1355
				'seo-tools',
1356
				'google-analytics',
1357
				'wordads',
1358
			);
1359
			$plan['class'] = 'business';
1360
		}
1361
1362
		// Make sure we have an array here in the event database data is stale
1363
		if ( ! isset( $plan['supports'] ) ) {