Eileen has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/343793 )
Change subject: Attempt to get a few more blanked addresses. ...................................................................... Attempt to get a few more blanked addresses. Bug: T159408 Change-Id: I828b07e4025a95858c22d26210459fdaeed075e6 --- M sites/all/modules/wmf_civicrm/update_restore_addresses.php 1 file changed, 0 insertions(+), 7 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/crm refs/changes/93/343793/1 diff --git a/sites/all/modules/wmf_civicrm/update_restore_addresses.php b/sites/all/modules/wmf_civicrm/update_restore_addresses.php index e8f1089..7c8a77e 100644 --- a/sites/all/modules/wmf_civicrm/update_restore_addresses.php +++ b/sites/all/modules/wmf_civicrm/update_restore_addresses.php @@ -128,13 +128,6 @@ )); $emptyAddress = $addresses['values'][$addressID]; $isPrimary = $emptyAddress['is_primary']; - if ($addresses['count'] > 1 && $isPrimary && !empty($deletedAddresses)) { - // Still being precautionary as we work through examples. Have concluded - // unchanged non-primary addresses are extraneous, not sure about primary. - // We still only revert or remove this address if it has been through a - // 'simple change'. - return; - } // Let's first establish if there was only one address deleted in the merge. // if so, we're gonna get through this. If not, bottle out. -- To view, visit https://gerrit.wikimedia.org/r/343793 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I828b07e4025a95858c22d26210459fdaeed075e6 Gerrit-PatchSet: 1 Gerrit-Project: wikimedia/fundraising/crm Gerrit-Branch: master Gerrit-Owner: Eileen <emcnaugh...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits