Code Duplication    Length = 3-3 lines in 2 locations

modules/likes/jetpack-likes-settings.php 1 location

@@ 643-645 (lines=3) @@
640
				}
641
			}
642
643
			if ( $data['show'] = array_intersect( $data['show'], $shows ) ) {
644
				$options['global']['show'] = $data['show'];
645
			}
646
		} else {
647
			$options['global']['show'] = array();
648
		}

modules/sharedaddy/sharing-service.php 1 location

@@ 343-345 (lines=3) @@
340
				}
341
			}
342
343
			if ( $data['show'] = array_intersect( $data['show'], $shows ) ) {
344
				$options['global']['show'] = $data['show'];
345
			}
346
		}
347
348
		update_option( 'sharing-options', $options );