Code Duplication    Length = 3-3 lines in 2 locations

projects/plugins/beta/jetpack-beta.php 2 locations

@@ 174-176 (lines=3) @@
171
	}
172
173
	public function remove_activate_dev( $actions ) {
174
		if ( is_plugin_active( JETPACK_PLUGIN_FILE ) || self::is_network_active() ) {
175
			$actions['activate'] = __( 'Plugin Already Active', 'jetpack-beta' );
176
		}
177
		return $actions;
178
	}
179
@@ 181-183 (lines=3) @@
178
	}
179
180
	public function remove_activate_stable( $actions ) {
181
		if ( is_plugin_active( JETPACK_DEV_PLUGIN_FILE ) || self::is_network_active() ) {
182
			$actions['activate'] = __( 'Plugin Already Active', 'jetpack-beta' );
183
		}
184
		return $actions;
185
	}
186