Code Duplication    Length = 3-3 lines in 2 locations

includes/admin/upgrades/upgrade-functions.php 2 locations

@@ 2089-2091 (lines=3) @@
2086
			$donor_last_name  = Give()->donor_meta->get_meta( $donor->id, '_give_donor_last_name' );
2087
2088
			// If first name meta of donor is not created, then create it.
2089
			if ( ! $donor_first_name && isset( $donor_name[0] ) ) {
2090
				Give()->donor_meta->add_meta( $donor->id, '_give_donor_first_name', $donor_name[0] );
2091
			}
2092
2093
			// If last name meta of donor is not created, then create it.
2094
			if ( ! $donor_last_name && isset( $donor_name[1] ) ) {
@@ 2605-2607 (lines=3) @@
2602
				$donor_last_name  = Give()->donor_meta->get_meta( $donor->id, '_give_donor_last_name' );
2603
2604
				// If first name meta of donor is not created, then create it.
2605
				if ( ! $donor_first_name && isset( $donor_name[0] ) ) {
2606
					Give()->donor_meta->add_meta( $donor->id, '_give_donor_first_name', $donor_name[0] );
2607
				}
2608
2609
				// If last name meta of donor is not created, then create it.
2610
				if ( ! $donor_last_name && isset( $donor_name[1] ) ) {