Code Duplication    Length = 9-11 lines in 2 locations

class.jetpack.php 2 locations

@@ 1364-1372 (lines=9) @@
1361
			'value_bundle',
1362
		);
1363
1364
		if ( in_array( $plan['product_slug'], $premium_plans ) ) {
1365
			$plan['supports'] = array(
1366
				'videopress',
1367
				'akismet',
1368
				'vaultpress',
1369
				'wordads',
1370
			);
1371
			$plan['class'] = 'premium';
1372
		}
1373
1374
		// Define what paid modules are supported by professional plans
1375
		$business_plans = array(
@@ 1381-1391 (lines=11) @@
1378
			'business-bundle',
1379
		);
1380
1381
		if ( in_array( $plan['product_slug'], $business_plans ) ) {
1382
			$plan['supports'] = array(
1383
				'videopress',
1384
				'akismet',
1385
				'vaultpress',
1386
				'seo-tools',
1387
				'google-analytics',
1388
				'wordads',
1389
			);
1390
			$plan['class'] = 'business';
1391
		}
1392
1393
		// Make sure we have an array here in the event database data is stale
1394
		if ( ! isset( $plan['supports'] ) ) {