Code Duplication    Length = 3-3 lines in 2 locations

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

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

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

@@ 617-619 (lines=3) @@
614
			$this->find_attachments( $id );
615
616
			//Set the team member if it is there
617
			if ( post_type_exists( 'team' ) && false !== $team_members && '' !== $team_members ) {
618
				$this->set_team_member( $id, $team_members );
619
			}
620
621
			if ( class_exists( 'LSX_TO_Maps' ) ) {
622
				$this->set_map_data( $data, $id, 9 );