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.
|
* Stores an email address in the queue helper singleton.
|
||||||
*
|
*
|
||||||
* @param \CRM_Queue_TaskContext $context
|
* @param \CRM_Queue_TaskContext $context
|
||||||
* @param string|null $email
|
* @param string $email
|
||||||
*
|
*
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public static function storeEmail(\CRM_Queue_TaskContext $context, ?string $email): bool {
|
public static function storeEmail(\CRM_Queue_TaskContext $context, string $email): bool {
|
||||||
if (!empty($email)) {
|
|
||||||
self::getInstance()->addToEmails($email);
|
self::getInstance()->addToEmails($email);
|
||||||
}
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue