redisabling mail tracking
authork <k054>
Tue, 15 Mar 2016 17:41:14 +0000 (13:41 -0400)
committerMichael McMahon <michael@fsf.org>
Thu, 22 Apr 2021 02:36:55 +0000 (22:36 -0400)
api/v3/Mailing.php

index 653fdcd2b2a95762f9b086cd587dab8aa5c4cc51..43530393c2e11aacffae33fc6898f220fa196ff5 100644 (file)
@@ -134,8 +134,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', '');