Code Duplication    Length = 11-11 lines in 2 locations

modules/sharedaddy/sharing-sources.php 2 locations

@@ 848-858 (lines=11) @@
845
	public $genericon = '\f204';
846
	private $share_type = 'default';
847
848
	public function __construct( $id, array $settings ) {
849
		parent::__construct( $id, $settings );
850
851
		if ( isset( $settings['share_type'] ) )
852
			$this->share_type = $settings['share_type'];
853
854
		if ( 'official' == $this->button_style )
855
			$this->smart = true;
856
		else
857
			$this->smart = false;
858
	}
859
860
	public function get_name() {
861
		return __( 'Facebook', 'jetpack' );
@@ 1652-1662 (lines=11) @@
1649
	public $genericon = '\f220';
1650
	private $share_type = 'default';
1651
1652
	public function __construct( $id, array $settings ) {
1653
		parent::__construct( $id, $settings );
1654
1655
		if ( isset( $settings['share_type'] ) ) {
1656
			$this->share_type = $settings['share_type'];
1657
		}
1658
1659
		if ( 'official' == $this->button_style ) {
1660
			$this->smart = true;
1661
		} else {
1662
			$this->smart = false;
1663
		}
1664
	}
1665