326 {
327 switch ($notification_type) {
330 $mailNotification->setType($notification_type);
331 $mailNotification->setRecipients(
$provider->getPostActivationRecipients());
332 $mailNotification->send();
333 break;
334
337 $mailNotification->setType($notification_type);
338 $mailNotification->setRecipients(
$provider->getPostAnsweredRecipients());
339 $mailNotification->send();
340 break;
341
342 default:
344 $mailNotification->setType($notification_type);
345
346
347 $frm_recipients =
$provider->getForumNotificationRecipients();
348
349
350 $thread_recipients =
$provider->getThreadNotificationRecipients();
351 $recipients = array_unique(array_merge($frm_recipients, $thread_recipients));
352
353 $mailNotification->setRecipients($recipients);
354 $mailNotification->send();
355 break;
356 }
357 }
const TYPE_POST_ACTIVATION