Skip to content
Snippets Groups Projects
Unverified Commit 41c0455e authored by colemanw's avatar colemanw Committed by GitHub
Browse files

Merge pull request #21372 from eileenmcnaughton/ddep

Remove deprecated input variable
parents 7fb7d6b5 a8c06348
Branches
Tags
No related merge requests found
......@@ -1485,7 +1485,6 @@ ORDER BY civicrm_email.is_bulkmail DESC
* Form values.
*
* @param array $params
* @param array $ids
*
* @return object
* $mailing The new mailing object
......@@ -1493,12 +1492,7 @@ ORDER BY civicrm_email.is_bulkmail DESC
* @throws \CRM_Core_Exception
* @throws \CiviCRM_API3_Exception
*/
public static function create(&$params, $ids = []) {
if (empty($params['id']) && (array_filter($ids) !== [])) {
$params['id'] = $ids['mailing_id'] ?? $ids['id'];
CRM_Core_Error::deprecatedWarning('Parameter $ids is no longer used by Mailing::create. Use the api or just pass $params');
}
public static function create(&$params) {
// CRM-#1843
// If it is a mass sms, set url_tracking to false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment