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

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