redisabling mail tracking
authork <k054>
Tue, 15 Mar 2016 17:41:14 +0000 (13:41 -0400)
committerMichael McMahon <michael@fsf.org>
Fri, 20 Oct 2023 18:26:14 +0000 (14:26 -0400)
api/v3/Mailing.php

index 73f4172aee826796733da0aecdb360a02c629d0f..c59a9da755f1974c525d50183e0680dd0ce3ec3d 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', '');