Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 2069-2071 (lines=3) @@
2066
			}
2067
2068
			// If last name meta of donor is not created, then create it.
2069
			if ( ! $donor_last_name && isset( $donor_name[1] ) ) {
2070
				Give()->donor_meta->add_meta( $donor->id, '_give_donor_last_name', $donor_name[1] );
2071
			}
2072
2073
			// If Donor is connected with WP User then update user meta.
2074
			if ( $donor->user_id ) {
@@ 2585-2587 (lines=3) @@
2582
				}
2583
2584
				// If last name meta of donor is not created, then create it.
2585
				if ( ! $donor_last_name && isset( $donor_name[1] ) ) {
2586
					Give()->donor_meta->add_meta( $donor->id, '_give_donor_last_name', $donor_name[1] );
2587
				}
2588
2589
				// If Donor is connected with WP User then update user meta.
2590
				if ( $donor->user_id ) {