Code Duplication    Length = 4-4 lines in 2 locations

sync/class.jetpack-sync-functions.php 2 locations

@@ 131-134 (lines=4) @@
128
		$url        = parse_url( $url );
129
130
		if ( $normalize_www ) {
131
			if ( $url['host'] === "www.{$option_url[ 'host' ]}" ) {
132
				// remove www if not present in option URL
133
				$url['host'] = $option_url['host'];
134
			}
135
			if ( $option_url['host'] === "www.{$url[ 'host' ]}" ) {
136
				// add www if present in option URL
137
				$url['host'] = $option_url['host'];
@@ 135-138 (lines=4) @@
132
				// remove www if not present in option URL
133
				$url['host'] = $option_url['host'];
134
			}
135
			if ( $option_url['host'] === "www.{$url[ 'host' ]}" ) {
136
				// add www if present in option URL
137
				$url['host'] = $option_url['host'];
138
			}
139
		}
140
141
		if ( $url['host'] === $option_url['host'] ) {