You are here

function hosting_client_disabling in Hosting 7.4

Same name and namespace in other branches
  1. 5 client/hosting_client.access.inc \hosting_client_disabling()
  2. 6.2 client/hosting_client.access.inc \hosting_client_disabling()
  3. 7.3 client/hosting_client.access.inc \hosting_client_disabling()

Function to make sure we don't respond with grants when disabling ourselves.

1 call to hosting_client_disabling()
hosting_client_node_access_records in client/hosting_client.access.inc
Implements hook_node_access_records().

File

client/hosting_client.access.inc, line 207
Control client node access.

Code

function hosting_client_disabling($set = NULL) {
  static $disabling = FALSE;
  if ($set !== NULL) {
    $disabling = $set;
  }
  return $disabling;
}