Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 721-723 (lines=3) @@
718
				}
719
			}
720
721
			if ( $data['show'] = array_intersect( $data['show'], $shows ) ) {
722
				$options['global']['show'] = $data['show'];
723
			}
724
		} else {
725
			$options['global']['show'] = array();
726
		}

modules/sharedaddy/sharing-service.php 1 location

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