redisabling mail tracking
authork <k054>
Tue, 15 Mar 2016 17:41:14 +0000 (13:41 -0400)
committerMichael McMahon <michael@fsf.org>
Tue, 27 Sep 2022 21:05:21 +0000 (17:05 -0400)
api/v3/Mailing.php

index 9aaaf67df80ec0175762f5cf59d5b97b105da5e1..3c6375d6cdfa2ec04244a69777eb1b0a2e6d9e55 100644 (file)
@@ -125,8 +125,8 @@ function _civicrm_api3_mailing_create_spec(&$params) {
 
   $params['forward_replies']['api.default'] = FALSE;
   $params['auto_responder']['api.default'] = FALSE;
-  $params['open_tracking']['api.default'] = Civi::settings()->get('open_tracking_default');
-  $params['url_tracking']['api.default'] = Civi::settings()->get('url_tracking_default');
+  $params['open_tracking']['api.default'] = FALSE;
+  $params['url_tracking']['api.default'] = FALSE;
 
   $params['header_id']['api.default'] = CRM_Mailing_PseudoConstant::defaultComponent('Header', '');
   $params['footer_id']['api.default'] = CRM_Mailing_PseudoConstant::defaultComponent('Footer', '');