Code Duplication    Length = 11-11 lines in 2 locations

projects/plugins/jetpack/class.jetpack.php 2 locations

@@ 4355-4365 (lines=11) @@
4352
					self::activate_default_modules( $min_version, $max_version, $other_modules );
4353
					wp_safe_redirect( self::admin_url( 'page=jetpack' ) );
4354
					exit;
4355
				case 'disconnect':
4356
					if ( ! current_user_can( 'jetpack_disconnect' ) ) {
4357
						$error = 'cheatin';
4358
						break;
4359
					}
4360
4361
					check_admin_referer( 'jetpack-disconnect' );
4362
					self::log( 'disconnect' );
4363
					self::disconnect();
4364
					wp_safe_redirect( self::admin_url( 'disconnected=true' ) );
4365
					exit;
4366
				case 'reconnect':
4367
					if ( ! current_user_can( 'jetpack_reconnect' ) ) {
4368
						$error = 'cheatin';
@@ 4366-4376 (lines=11) @@
4363
					self::disconnect();
4364
					wp_safe_redirect( self::admin_url( 'disconnected=true' ) );
4365
					exit;
4366
				case 'reconnect':
4367
					if ( ! current_user_can( 'jetpack_reconnect' ) ) {
4368
						$error = 'cheatin';
4369
						break;
4370
					}
4371
4372
					check_admin_referer( 'jetpack-reconnect' );
4373
					self::log( 'reconnect' );
4374
					self::disconnect();
4375
					wp_redirect( $this->build_connect_url( true, false, 'reconnect' ) );
4376
					exit;
4377
				case 'deactivate':
4378
					if ( ! current_user_can( 'jetpack_deactivate_modules' ) ) {
4379
						$error = 'cheatin';