Merge pull request #11453 from colemanw/php55
[civicrm-core.git] / settings / Contribute.setting.php
index 67313e3031a626acc8e8b3a76e1d1add4c1946e6..a9b510998806472f3730b7befc684d7c5f085935 100644 (file)
@@ -150,4 +150,19 @@ return array(
     'description' => NULL,
     'help_text' => NULL,
   ),
+  'update_contribution_on_membership_type_change' => array(
+    'group_name' => 'Contribute Preferences',
+    'group' => 'contribute',
+    'name' => 'update_contribution_on_membership_type_change',
+    'type' => 'Integer',
+    'html_type' => 'checkbox',
+    'quick_form_type' => 'Element',
+    'default' => 0,
+    'add' => '4.7',
+    'title' => 'Automatically update related contributions when Membership Type is changed',
+    'is_domain' => 1,
+    'is_contact' => 0,
+    'description' => 'Enabling this setting will update related contribution of membership(s) except if the membership is paid for with a recurring contribution.',
+    'help_text' => NULL,
+  ),
 );