redisabling mail tracking
authork <k054>
Tue, 15 Mar 2016 17:41:14 +0000 (13:41 -0400)
committerRuben Rodriguez <ruben@trisquel.org>
Mon, 5 Jun 2023 20:53:22 +0000 (16:53 -0400)
api/v3/Mailing.php

index 3a04791f6c80a9ee05d8a47f47efe251f28c539a..0a28d444e3fb5604402b2ab3e2b7736d3463d68b 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', '');