Code Duplication    Length = 11-11 lines in 2 locations

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

@@ 4447-4457 (lines=11) @@
4444
					self::activate_default_modules( $min_version, $max_version, $other_modules );
4445
					wp_safe_redirect( self::admin_url( 'page=jetpack' ) );
4446
					exit;
4447
				case 'disconnect':
4448
					if ( ! current_user_can( 'jetpack_disconnect' ) ) {
4449
						$error = 'cheatin';
4450
						break;
4451
					}
4452
4453
					check_admin_referer( 'jetpack-disconnect' );
4454
					self::log( 'disconnect' );
4455
					self::disconnect();
4456
					wp_safe_redirect( self::admin_url( 'disconnected=true' ) );
4457
					exit;
4458
				case 'reconnect':
4459
					if ( ! current_user_can( 'jetpack_reconnect' ) ) {
4460
						$error = 'cheatin';
@@ 4458-4468 (lines=11) @@
4455
					self::disconnect();
4456
					wp_safe_redirect( self::admin_url( 'disconnected=true' ) );
4457
					exit;
4458
				case 'reconnect':
4459
					if ( ! current_user_can( 'jetpack_reconnect' ) ) {
4460
						$error = 'cheatin';
4461
						break;
4462
					}
4463
4464
					check_admin_referer( 'jetpack-reconnect' );
4465
					self::log( 'reconnect' );
4466
					self::disconnect();
4467
					wp_redirect( $this->build_connect_url( true, false, 'reconnect' ) );
4468
					exit;
4469
				case 'deactivate':
4470
					if ( ! current_user_can( 'jetpack_deactivate_modules' ) ) {
4471
						$error = 'cheatin';