You are here

function forum_access_query_moderator_rid in Forum Access 6

Return the rid of the Forum Moderator role or NULL if the role does not exist.

11 calls to forum_access_query_moderator_rid()
forum_access_db_rewrite_sql in ./forum_access.module
Implementation of hook_db_rewrite_sql().
forum_access_update_6102 in ./forum_access.install
Set the proper permissions for the Forum Moderator role.
forum_access_user in ./forum_access.module
Implementation of hook_user().
_forum_access_forum_form_disable_checkboxes in ./forum_access.admin.inc
_forum_access_get_all_roles in ./forum_access.node.inc

... See full list

File

./forum_access.module, line 677
forum_access.module

Code

function forum_access_query_moderator_rid() {
  return variable_get('forum_access_moderator_rid', NULL);
}