Code Duplication    Length = 3-3 lines in 2 locations

modules/sharedaddy/sharing-service.php 1 location

@@ 325-327 (lines=3) @@
322
				}
323
			}
324
325
			if ( $data['show'] = array_intersect( $data['show'], $shows ) ) {
326
				$options['global']['show'] = $data['show'];
327
			}
328
		}
329
330
		update_option( 'sharing-options', $options );

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

@@ 632-634 (lines=3) @@
629
				}
630
			}
631
632
			if ( $data['show'] = array_intersect( $data['show'], $shows ) ) {
633
				$options['global']['show'] = $data['show'];
634
			}
635
		} else {
636
			$options['global']['show'] = array();
637
		}