Code Duplication    Length = 9-11 lines in 2 locations

class.jetpack.php 2 locations

@@ 1316-1324 (lines=9) @@
1313
			'value_bundle',
1314
		);
1315
1316
		if ( in_array( $plan['product_slug'], $premium_plans ) ) {
1317
			$plan['supports'] = array(
1318
				'videopress',
1319
				'akismet',
1320
				'vaultpress',
1321
				'wordads',
1322
			);
1323
			$plan['class'] = 'premium';
1324
		}
1325
1326
		// Define what paid modules are supported by professional plans
1327
		$business_plans = array(
@@ 1333-1343 (lines=11) @@
1330
			'business-bundle',
1331
		);
1332
1333
		if ( in_array( $plan['product_slug'], $business_plans ) ) {
1334
			$plan['supports'] = array(
1335
				'videopress',
1336
				'akismet',
1337
				'vaultpress',
1338
				'seo-tools',
1339
				'google-analytics',
1340
				'wordads',
1341
			);
1342
			$plan['class'] = 'business';
1343
		}
1344
1345
		// Make sure we have an array here in the event database data is stale
1346
		if ( ! isset( $plan['supports'] ) ) {