You are here

function og_invite_page in Organic groups 5

Same name and namespace in other branches
  1. 5.8 og.module \og_invite_page()
  2. 5.2 og.module \og_invite_page()
  3. 5.3 og.module \og_invite_page()
  4. 5.7 og.module \og_invite_page()
1 string reference to 'og_invite_page'
og_menu in ./og.module

File

./og.module, line 598

Code

function og_invite_page($gid) {
  $node = node_load($gid);
  if ($node->og_selective < OG_INVITE_ONLY || og_is_node_admin($node)) {
    return drupal_get_form('og_invite_form', $gid);
  }
  else {
    drupal_access_denied();
  }
}