Code Duplication    Length = 9-11 lines in 2 locations

class.jetpack.php 2 locations

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