You are here

function spaces_access_space in Spaces 6.3

Same name and namespace in other branches
  1. 7.3 spaces.module \spaces_access_space()
  2. 7 spaces.module \spaces_access_space()

Access check for the current space.

1 call to spaces_access_space()
spaces_init in ./spaces.module
Implementation of hook_init().

File

./spaces.module, line 446

Code

function spaces_access_space($account = NULL) {
  $space = spaces_get_space();
  return $space ? $space
    ->access_space($account) : TRUE;
}