[#36] Rename "double_opt_in" property to "newsletter_double_opt_in"

This commit is contained in:
Jens Schuppe 2020-08-14 10:13:51 +02:00
parent 4ff060884a
commit d3c1aabfb4
4 changed files with 11 additions and 11 deletions

View file

@ -221,7 +221,7 @@ class CRM_Twingle_Profile {
'membership_type_id',
'membership_type_id_recur',
'membership_postprocess_call',
'double_opt_in'
'newsletter_double_opt_in'
),
// Add payment methods.
array_keys(static::paymentInstruments()),
@ -294,7 +294,7 @@ class CRM_Twingle_Profile {
'custom_field_mapping' => NULL,
'membership_type_id' => NULL,
'membership_type_id_recur' => NULL,
'double_opt_in' => NULL,
'newsletter_double_opt_in' => NULL,
)
// Add contribution status for all payment methods.
+ array_fill_keys(array_map(function($attribute) {