Skip to content
Snippets Groups Projects
Commit 62dac3db authored by dmunio's avatar dmunio
Browse files

Remove url-tracking in mass sms. #1843

parent ec96d346
No related branches found
No related tags found
No related merge requests found
......@@ -1528,6 +1528,12 @@ ORDER BY civicrm_email.is_bulkmail DESC
\Civi::log('Parameter $ids is no longer used by Mailing::create. Use the api or just pass $params', ['civi.tag' => 'deprecated']);
}
// CRM-#1843
// If it is a mass sms, set url_tracking to false
if (!empty($params['sms_provider_id'])) {
$params['url_tracking'] = 0;
}
// CRM-12430
// Do the below only for an insert
// for an update, we should not set the defaults
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment