Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 2064-2066 (lines=3) @@
2061
			$donor_last_name  = Give()->donor_meta->get_meta( $donor->id, '_give_donor_last_name' );
2062
2063
			// If first name meta of donor is not created, then create it.
2064
			if ( ! $donor_first_name && isset( $donor_name[0] ) ) {
2065
				Give()->donor_meta->add_meta( $donor->id, '_give_donor_first_name', $donor_name[0] );
2066
			}
2067
2068
			// If last name meta of donor is not created, then create it.
2069
			if ( ! $donor_last_name && isset( $donor_name[1] ) ) {
@@ 2580-2582 (lines=3) @@
2577
				$donor_last_name  = Give()->donor_meta->get_meta( $donor->id, '_give_donor_last_name' );
2578
2579
				// If first name meta of donor is not created, then create it.
2580
				if ( ! $donor_first_name && isset( $donor_name[0] ) ) {
2581
					Give()->donor_meta->add_meta( $donor->id, '_give_donor_first_name', $donor_name[0] );
2582
				}
2583
2584
				// If last name meta of donor is not created, then create it.
2585
				if ( ! $donor_last_name && isset( $donor_name[1] ) ) {