Code Duplication    Length = 3-3 lines in 2 locations

modules/sharedaddy/sharing-service.php 1 location

@@ 329-331 (lines=3) @@
326
				}
327
			}
328
329
			if ( $data['show'] = array_intersect( $data['show'], $shows ) ) {
330
				$options['global']['show'] = $data['show'];
331
			}
332
		}
333
334
		update_option( 'sharing-options', $options );

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
		}