Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 2192-2194 (lines=3) @@
2189
			}
2190
2191
			// If last name meta of donor is not created, then create it.
2192
			if ( ! $donor_last_name && isset( $donor_name[1] ) ) {
2193
				Give()->donor_meta->add_meta( $donor->id, '_give_donor_last_name', $donor_name[1] );
2194
			}
2195
2196
			// If Donor is connected with WP User then update user meta.
2197
			if ( $donor->user_id ) {
@@ 2718-2720 (lines=3) @@
2715
				}
2716
2717
				// If last name meta of donor is not created, then create it.
2718
				if ( ! $donor_last_name && isset( $donor_name[1] ) ) {
2719
					Give()->donor_meta->add_meta( $donor->id, '_give_donor_last_name', $donor_name[1] );
2720
				}
2721
2722
				// If Donor is connected with WP User then update user meta.
2723
				if ( $donor->user_id ) {