Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 2029-2031 (lines=3) @@
2026
			}
2027
2028
			// If last name meta of donor is not created, then create it.
2029
			if ( ! $donor_last_name && isset( $donor_name[1] ) ) {
2030
				Give()->donor_meta->add_meta( $donor->id, '_give_donor_last_name', $donor_name[1] );
2031
			}
2032
2033
			// If Donor is connected with WP User then update user meta.
2034
			if ( $donor->user_id ) {
@@ 2540-2542 (lines=3) @@
2537
				}
2538
2539
				// If last name meta of donor is not created, then create it.
2540
				if ( ! $donor_last_name && isset( $donor_name[1] ) ) {
2541
					Give()->donor_meta->add_meta( $donor->id, '_give_donor_last_name', $donor_name[1] );
2542
				}
2543
2544
				// If Donor is connected with WP User then update user meta.
2545
				if ( $donor->user_id ) {