Code Duplication    Length = 9-11 lines in 2 locations

class.jetpack.php 2 locations

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