fix hidden phpstan error (#26891)
This commit is contained in:
parent
bffbe18f82
commit
cdcd1c4562
1 changed files with 4 additions and 0 deletions
|
|
@ -85,6 +85,8 @@ class mailing_thirdparties_services_expired extends MailingTargets
|
|||
*/
|
||||
public function add_to_target($mailing_id)
|
||||
{
|
||||
global $conf;
|
||||
|
||||
// phpcs:enable
|
||||
$key = GETPOST('filter', 'int');
|
||||
|
||||
|
|
@ -187,6 +189,8 @@ class mailing_thirdparties_services_expired extends MailingTargets
|
|||
*/
|
||||
public function getNbOfRecipients($sql = '')
|
||||
{
|
||||
global $conf;
|
||||
|
||||
$now = dol_now();
|
||||
|
||||
// Example: return parent::getNbOfRecipients("SELECT count(*) as nb from dolibarr_table");
|
||||
|
|
|
|||
Loading…
Reference in a new issue