Code Duplication    Length = 7-7 lines in 2 locations

class.jetpack-plan.php 2 locations

@@ 150-156 (lines=7) @@
147
			'value_bundle-2y',
148
		);
149
150
		if ( in_array( $plan['product_slug'], $premium_plans, true ) ) {
151
			$supports[]    = 'akismet';
152
			$supports[]    = 'simple-payments';
153
			$supports[]    = 'vaultpress';
154
			$supports[]    = 'videopress';
155
			$plan['class'] = 'premium';
156
		}
157
158
		// Define what paid modules are supported by professional plans.
159
		$business_plans = array(
@@ 169-175 (lines=7) @@
166
			'vip',
167
		);
168
169
		if ( in_array( $plan['product_slug'], $business_plans, true ) ) {
170
			$supports[]    = 'akismet';
171
			$supports[]    = 'simple-payments';
172
			$supports[]    = 'vaultpress';
173
			$supports[]    = 'videopress';
174
			$plan['class'] = 'business';
175
		}
176
177
		// get available features.
178
		foreach ( Jetpack::get_available_modules() as $module_slug ) {