Merge pull request #10748 from frederic34/patch-2

Update mailinglist_mymodule_myobject.modules.php
This commit is contained in:
Laurent Destailleur
2019-03-07 12:31:09 +01:00
committed by GitHub

View File

@@ -97,9 +97,10 @@ class mailing_mailinglist_mymodule_myobject extends MailingTargets
* This is the main function that returns the array of emails
*
* @param int $mailing_id Id of emailing
* @param array $cibles Array with targets
* @return int <0 if error, number of emails added if ok
*/
public function add_to_target($mailing_id)
public function add_to_target($mailing_id, $cibles)
{
// phpcs:enable
$target = array();