You are here

function forum_access_enabled in Forum Access 6

Same name and namespace in other branches
  1. 8 forum_access.module \forum_access_enabled()
  2. 5 forum_access.module \forum_access_enabled()
  3. 7 forum_access.module \forum_access_enabled()

This is also required by ACL module.

2 calls to forum_access_enabled()
forum_access_disable in ./forum_access.install
Implementation of hook_disable().
forum_access_node_access_records in ./forum_access.module
Implementation of hook_node_access_records().

File

./forum_access.module, line 504
forum_access.module

Code

function forum_access_enabled($set = NULL) {
  static $enabled = TRUE;
  if ($set !== NULL) {
    $enabled = $set;
  }
  return $enabled;
}