Eileen has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/398788 )

Change subject: Pass in skip_greeting_proceessing param
......................................................................

Pass in skip_greeting_proceessing param

Having moved this skip from a hack to a param we need to pass this in on our
main contact import shim. It doesn't matter if we by-pass it sometimes, this
is for performance rather than for functionality so as
long as we get the main volume q.

Bug: T156193
Change-Id: I14b55e54d18239febf01c93894c62dd68021e8b1
---
M sites/all/modules/wmf_civicrm/wmf_civicrm.module
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/crm 
refs/changes/88/398788/1

diff --git a/sites/all/modules/wmf_civicrm/wmf_civicrm.module 
b/sites/all/modules/wmf_civicrm/wmf_civicrm.module
index 9485811..67664cd 100644
--- a/sites/all/modules/wmf_civicrm/wmf_civicrm.module
+++ b/sites/all/modules/wmf_civicrm/wmf_civicrm.module
@@ -1089,6 +1089,10 @@
         'contact_type' => $msg['contact_type'],
         'contact_source' => $msg['contact_source'],
         'debug' => TRUE,
+        // We speed up our imports by passing in this param.
+        // going forwards there is scope to a) improve the processing
+        // upstream rather than skip & b) not skip for Major Gifts contacts.
+        'skip_greeting_processing' => TRUE,
     );
     if (strtolower($msg['contact_type']) !== "organization") {
       foreach (array('first_name', 'last_name', 'middle_name') as $name) {

-- 
To view, visit https://gerrit.wikimedia.org/r/398788
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I14b55e54d18239febf01c93894c62dd68021e8b1
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

Reply via email to