Code Duplication    Length = 9-9 lines in 2 locations

class.jetpack.php 2 locations

@@ 1009-1017 (lines=9) @@
1006
1007
			wp_send_json_success();
1008
		}
1009
		if ( isset( $_REQUEST['jitmActionToTake'] ) && 'launch' == $_REQUEST['jitmActionToTake'] ) {
1010
			$module_slug = $_REQUEST['jitmModule'];
1011
1012
			// User went to WordPress.com, track this
1013
			$this->stat( 'jitm', $module_slug.'-wordpress-tools-' . JETPACK__VERSION );
1014
			$this->do_stats( 'server_side' );
1015
1016
			wp_send_json_success();
1017
		}
1018
		if ( isset( $_REQUEST['jitmActionToTake'] ) && 'viewed' == $_REQUEST['jitmActionToTake'] ) {
1019
			$track = $_REQUEST['jitmModule'];
1020
@@ 1018-1026 (lines=9) @@
1015
1016
			wp_send_json_success();
1017
		}
1018
		if ( isset( $_REQUEST['jitmActionToTake'] ) && 'viewed' == $_REQUEST['jitmActionToTake'] ) {
1019
			$track = $_REQUEST['jitmModule'];
1020
1021
			// User is viewing JITM, track it.
1022
			$this->stat( 'jitm', $track . '-viewed-' . JETPACK__VERSION );
1023
			$this->do_stats( 'server_side' );
1024
1025
			wp_send_json_success();
1026
		}
1027
	}
1028
1029
	/**