You are here

function hosting_client_disabling in Hostmaster (Aegir) 6

Simple 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 modules/hosting/client/hosting_client.access.inc
Implements hook_node_access_records().

File

modules/hosting/client/hosting_client.access.inc, line 159
Control client node access.

Code

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