You are here

function invite_user_registration_by_invite_only in Invite 6.2

Same name and namespace in other branches
  1. 7.4 invite.module \invite_user_registration_by_invite_only()
  2. 7.2 invite.module \invite_user_registration_by_invite_only()

Determine if user registration mode is set to invite only.

4 calls to invite_user_registration_by_invite_only()
invite_disable in ./invite.module
Implementation of hook_disable().
invite_form_alter in ./invite.module
Implementation of hook_form_alter().
invite_link_alter in ./invite.module
Implements hook_link_alter().
invite_menu_alter in ./invite.module
Implementation of hook_menu_alter().

File

./invite.module, line 240
Allows your users to send and track invitations to join your site.

Code

function invite_user_registration_by_invite_only() {
  return variable_get('user_register', 1) === '1-inviteonly';
}