Code Duplication    Length = 9-11 lines in 2 locations

class.jetpack.php 2 locations

@@ 1344-1352 (lines=9) @@
1341
			'value_bundle',
1342
		);
1343
1344
		if ( in_array( $plan['product_slug'], $premium_plans ) ) {
1345
			$plan['supports'] = array(
1346
				'videopress',
1347
				'akismet',
1348
				'vaultpress',
1349
				'wordads',
1350
			);
1351
			$plan['class'] = 'premium';
1352
		}
1353
1354
		// Define what paid modules are supported by professional plans
1355
		$business_plans = array(
@@ 1361-1371 (lines=11) @@
1358
			'business-bundle',
1359
		);
1360
1361
		if ( in_array( $plan['product_slug'], $business_plans ) ) {
1362
			$plan['supports'] = array(
1363
				'videopress',
1364
				'akismet',
1365
				'vaultpress',
1366
				'seo-tools',
1367
				'google-analytics',
1368
				'wordads',
1369
			);
1370
			$plan['class'] = 'business';
1371
		}
1372
1373
		// Make sure we have an array here in the event database data is stale
1374
		if ( ! isset( $plan['supports'] ) ) {