You are here

function invite_user_registration_by_invite_only in Invite 7.4

Same name and namespace in other branches
  1. 6.2 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.

1 call to invite_user_registration_by_invite_only()
invite_menu_alter in ./invite.module
Implements hook_menu_alter().

File

./invite.module, line 321

Code

function invite_user_registration_by_invite_only() {
  return variable_get('user_register', USER_REGISTER_VISITORS_ADMINISTRATIVE_APPROVAL) == USER_REGISTER_INVITATION_ONLY;
}