function og_invite_page in Organic groups 5.3
Same name and namespace in other branches
- 5.8 og.module \og_invite_page()
- 5 og.module \og_invite_page()
- 5.2 og.module \og_invite_page()
- 5.7 og.module \og_invite_page()
File
- ./
og.module, line 596
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();
}
}