Code Duplication    Length = 11-11 lines in 2 locations

modules/sharedaddy/sharing-sources.php 2 locations

@@ 1725-1735 (lines=11) @@
1722
	public $icon = '\f220';
1723
	private $share_type = 'default';
1724
1725
	public function __construct( $id, array $settings ) {
1726
		parent::__construct( $id, $settings );
1727
1728
		if ( isset( $settings['share_type'] ) ) {
1729
			$this->share_type = $settings['share_type'];
1730
		}
1731
1732
		if ( 'official' == $this->button_style ) {
1733
			$this->smart = true;
1734
		} else {
1735
			$this->smart = false;
1736
		}
1737
1738
	}
@@ 884-894 (lines=11) @@
881
	public $icon = '\f204';
882
	private $share_type = 'default';
883
884
	public function __construct( $id, array $settings ) {
885
		parent::__construct( $id, $settings );
886
887
		if ( isset( $settings['share_type'] ) ) {
888
			$this->share_type = $settings['share_type'];
889
		}
890
891
		if ( 'official' == $this->button_style ) {
892
			$this->smart = true;
893
		} else {
894
			$this->smart = false;
895
		}
896
	}
897