Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 562-564 (lines=3) @@
559
		}
560
561
		//Set the team member if it is there
562
		if ( post_type_exists( 'team' ) && false !== $team_members && '' !== $team_members ) {
563
			$this->set_team_member( $id,$team_members );
564
		}
565
566
		//Set the safari brand
567
		if ( false !== $safari_brands && '' !== $safari_brands ) {

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

@@ 577-579 (lines=3) @@
574
			$this->find_attachments( $id );
575
576
			//Set the team member if it is there
577
			if ( post_type_exists( 'team' ) && false !== $team_members && '' !== $team_members ) {
578
				$this->set_team_member( $id, $team_members );
579
			}
580
581
			if ( class_exists( 'LSX_TO_Maps' ) ) {
582
				$this->set_map_data( $data, $id, 9 );