Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 2094-2096 (lines=3) @@
2091
			}
2092
2093
			// If last name meta of donor is not created, then create it.
2094
			if ( ! $donor_last_name && isset( $donor_name[1] ) ) {
2095
				Give()->donor_meta->add_meta( $donor->id, '_give_donor_last_name', $donor_name[1] );
2096
			}
2097
2098
			// If Donor is connected with WP User then update user meta.
2099
			if ( $donor->user_id ) {
@@ 2610-2612 (lines=3) @@
2607
				}
2608
2609
				// If last name meta of donor is not created, then create it.
2610
				if ( ! $donor_last_name && isset( $donor_name[1] ) ) {
2611
					Give()->donor_meta->add_meta( $donor->id, '_give_donor_last_name', $donor_name[1] );
2612
				}
2613
2614
				// If Donor is connected with WP User then update user meta.
2615
				if ( $donor->user_id ) {