function hosting_client_disabling in Hosting 7.3
Same name and namespace in other branches
- 5 client/hosting_client.access.inc \hosting_client_disabling()
- 6.2 client/hosting_client.access.inc \hosting_client_disabling()
- 7.4 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;
}