Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 2024-2026 (lines=3) @@
2021
			$donor_last_name  = Give()->donor_meta->get_meta( $donor->id, '_give_donor_last_name' );
2022
2023
			// If first name meta of donor is not created, then create it.
2024
			if ( ! $donor_first_name && isset( $donor_name[0] ) ) {
2025
				Give()->donor_meta->add_meta( $donor->id, '_give_donor_first_name', $donor_name[0] );
2026
			}
2027
2028
			// If last name meta of donor is not created, then create it.
2029
			if ( ! $donor_last_name && isset( $donor_name[1] ) ) {
@@ 2535-2537 (lines=3) @@
2532
				$donor_last_name  = Give()->donor_meta->get_meta( $donor->id, '_give_donor_last_name' );
2533
2534
				// If first name meta of donor is not created, then create it.
2535
				if ( ! $donor_first_name && isset( $donor_name[0] ) ) {
2536
					Give()->donor_meta->add_meta( $donor->id, '_give_donor_first_name', $donor_name[0] );
2537
				}
2538
2539
				// If last name meta of donor is not created, then create it.
2540
				if ( ! $donor_last_name && isset( $donor_name[1] ) ) {