Update mailinglist_mymodule_myobject.modules.php
Warning: Declaration of mailing_***********::add_to_target($mailing_id) should be compatible with MailingTargets::add_to_target($mailing_id, $cibles)
This commit is contained in:
parent
cfd39a1483
commit
b4851e3d40
@ -97,9 +97,10 @@ class mailing_mailinglist_mymodule_myobject extends MailingTargets
|
|||||||
* This is the main function that returns the array of emails
|
* This is the main function that returns the array of emails
|
||||||
*
|
*
|
||||||
* @param int $mailing_id Id of emailing
|
* @param int $mailing_id Id of emailing
|
||||||
|
* @param array $cibles Array with targets
|
||||||
* @return int <0 if error, number of emails added if ok
|
* @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
|
// phpcs:enable
|
||||||
$target = array();
|
$target = array();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user