Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 2122-2124 (lines=3) @@
2119
			}
2120
2121
			// If last name meta of donor is not created, then create it.
2122
			if ( ! $donor_last_name && isset( $donor_name[1] ) ) {
2123
				Give()->donor_meta->add_meta( $donor->id, '_give_donor_last_name', $donor_name[1] );
2124
			}
2125
2126
			// If Donor is connected with WP User then update user meta.
2127
			if ( $donor->user_id ) {
@@ 2635-2637 (lines=3) @@
2632
				}
2633
2634
				// If last name meta of donor is not created, then create it.
2635
				if ( ! $donor_last_name && isset( $donor_name[1] ) ) {
2636
					Give()->donor_meta->add_meta( $donor->id, '_give_donor_last_name', $donor_name[1] );
2637
				}
2638
2639
				// If Donor is connected with WP User then update user meta.
2640
				if ( $donor->user_id ) {