mod/invitefriends/actions/invite.php 1 location
|
@@ 28-31 (lines=4) @@
|
| 25 |
|
|
| 26 |
|
$current_user = elgg_get_logged_in_user_entity(); |
| 27 |
|
|
| 28 |
|
if (elgg_is_active_plugin('gcRegistration_invitation')) { |
| 29 |
|
$data = array('inviter' => $current_user->guid, 'emails' => $emails); |
| 30 |
|
elgg_trigger_plugin_hook('gcRegistration_email_invitation', 'all', $data); |
| 31 |
|
} |
| 32 |
|
|
| 33 |
|
$error = FALSE; |
| 34 |
|
$bad_emails = array(); |
mod/group_tools/lib/functions.php 1 location
|
@@ 276-279 (lines=4) @@
|
| 273 |
|
} |
| 274 |
|
$body = elgg_trigger_plugin_hook("invite_notification", "group_tools", $params, $body); |
| 275 |
|
|
| 276 |
|
if (elgg_is_active_plugin('gcRegistration_invitation')) { |
| 277 |
|
$data = array('inviter' => $loggedin_user->guid, 'emails' => array($email)); |
| 278 |
|
elgg_trigger_plugin_hook('gcRegistration_email_invitation', 'all', $data); |
| 279 |
|
} |
| 280 |
|
|
| 281 |
|
// cyu - 03/07/2016: modified to improve notifications |
| 282 |
|
if (elgg_is_active_plugin('cp_notifications')) { |
mod/talent_cloud_invite_api/actions/invite.php 1 location
|
@@ 44-47 (lines=4) @@
|
| 41 |
|
|
| 42 |
|
// Check to see if invitaiton exists, if yes then we only need to send email and not register address again |
| 43 |
|
|
| 44 |
|
if (!invitationExists($email)){ |
| 45 |
|
$data = array('inviter' => $api_user->guid, 'emails' => [$email]); |
| 46 |
|
elgg_trigger_plugin_hook('gcRegistration_email_invitation', 'all', $data); |
| 47 |
|
}; |
| 48 |
|
|
| 49 |
|
// Get site variables to construct email message |
| 50 |
|
|