Code Duplication    Length = 9-11 lines in 2 locations

class.jetpack.php 2 locations

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