Code Duplication    Length = 3-3 lines in 2 locations

modules/sharedaddy/sharing-service.php 1 location

@@ 369-371 (lines=3) @@
366
				}
367
			}
368
369
			if ( $data['show'] = array_intersect( $data['show'], $shows ) ) {
370
				$options['global']['show'] = $data['show'];
371
			}
372
		}
373
374
		update_option( 'sharing-options', $options );

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

@@ 705-707 (lines=3) @@
702
				}
703
			}
704
705
			if ( $data['show'] = array_intersect( $data['show'], $shows ) ) {
706
				$options['global']['show'] = $data['show'];
707
			}
708
		} else {
709
			$options['global']['show'] = array();
710
		}