Merge pull request #3254 from jitendrapurohit/Webtest_Core_Bugs
[civicrm-core.git] / settings / Mailing.setting.php
index 81d6760fb50414849872d3e9dc5ea3c20c544afe..f9101468a7bb56148910b44bc69aae147d4625c4 100644 (file)
@@ -149,7 +149,7 @@ return array(
     'is_contact' => 0,
     'description' => 'Don\'t check for presence of mandatory tokens (domain address; unsubscribe/opt-out) before sending mailings. WARNING: Mandatory tokens are a safe-guard which facilitate compliance with the US CAN-SPAM Act. They should only be disabled if your organization adopts other mechanisms for compliance or if your organization is not subject to CAN-SPAM.',
     'help_text' => null,
-  ), 
+  ),
   'dedupe_email_default' => array(
     'group_name' => 'Mailing Preferences',
     'group' => 'mailing',
@@ -164,4 +164,18 @@ return array(
     'description' => 'Set the "dedupe e-mail" option when sending a new mailing to "true" by default.',
     'help_text' => null,
   ),
-);
+  'hash_mailing_url' => array(
+    'group_name' => 'Mailing Preferences',
+    'group' => 'mailing',
+    'name' => 'hash_mailing_url',
+    'type' => 'Integer',
+    'html_type' => 'checkbox',
+    'default' => 0,
+    'add' => '4.5',
+    'title' => 'Hashed Mailing URL\'s',
+    'is_domain' => 1,
+    'is_contact' => 0,
+    'description' => 'If enabled, a randomized hash key will be used to reference the mailing URL in the mailing.viewUrl token, instead of the mailing ID',
+    'help_text' => null,
+  ),
+);
\ No newline at end of file