function invite_init in Invite 6.2
Same name and namespace in other branches
- 7.2 invite.module \invite_init()
Implements hook_init().
File
- ./
invite.module, line 100 - 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->invite_sent) && !module_invoke('throttle', 'status')) {
invite_notify($user->uid);
}
}