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

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