Compare commits
No commits in common. "main" and "dev" have entirely different histories.
1 changed files with 3 additions and 5 deletions
|
@ -106,14 +106,12 @@ class QueueHelper {
|
|||
* Stores an email address in the queue helper singleton.
|
||||
*
|
||||
* @param \CRM_Queue_TaskContext $context
|
||||
* @param string|null $email
|
||||
* @param string $email
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public static function storeEmail(\CRM_Queue_TaskContext $context, ?string $email): bool {
|
||||
if (!empty($email)) {
|
||||
self::getInstance()->addToEmails($email);
|
||||
}
|
||||
public static function storeEmail(\CRM_Queue_TaskContext $context, string $email): bool {
|
||||
self::getInstance()->addToEmails($email);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue