function invite_init in Invite 7.2
Same name and namespace in other branches
- 6.2 invite.module \invite_init()
Implements hook_init().
File
- ./
invite.module, line 120 - Allows your users to send and track invitations to join your site.
Code
function invite_init() {
global $user;
// Notify current user about newly joined invitees.
if (!empty($user->data['invite_accepted']) && !module_invoke('throttle', 'status')) {
invite_notify($user->uid);
}
}