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