Merge pull request #10748 from frederic34/patch-2
Update mailinglist_mymodule_myobject.modules.php
This commit is contained in:
commit
40afeebe2d
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user