Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 574-576 (lines=3) @@
571
		}
572
573
		//Set the team member if it is there
574
		if ( post_type_exists( 'team' ) && false !== $team_members && '' !== $team_members ) {
575
			$this->set_team_member( $id,$team_members );
576
		}
577
578
		//Set the safari brand
579
		if ( false !== $safari_brands && '' !== $safari_brands ) {

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

@@ 601-603 (lines=3) @@
598
			$this->find_attachments( $id );
599
600
			//Set the team member if it is there
601
			if ( post_type_exists( 'team' ) && false !== $team_members && '' !== $team_members ) {
602
				$this->set_team_member( $id, $team_members );
603
			}
604
605
			if ( class_exists( 'LSX_TO_Maps' ) ) {
606
				$this->set_map_data( $data, $id, 9 );