Code Duplication    Length = 3-3 lines in 2 locations

classes/class-wetu-importer-accommodation.php 1 location

@@ 585-587 (lines=3) @@
582
		}
583
584
		//Set the team member if it is there
585
		if ( post_type_exists( 'team' ) && false !== $team_members && '' !== $team_members ) {
586
			$this->set_team_member( $id,$team_members );
587
		}
588
589
		//Set the safari brand
590
		if ( false !== $safari_brands && '' !== $safari_brands ) {

classes/class-wetu-importer-destination.php 1 location

@@ 626-628 (lines=3) @@
623
			$this->find_attachments( $id );
624
625
			//Set the team member if it is there
626
			if ( post_type_exists( 'team' ) && false !== $team_members && '' !== $team_members ) {
627
				$this->set_team_member( $id, $team_members );
628
			}
629
630
			if ( class_exists( 'LSX_TO_Maps' ) ) {
631
				$this->set_map_data( $data, $id, 9 );