function protected_node_disabling in Protected Node 5
Simple function to make sure we don't respond with grants when disabling ourselves.
File
- ./
protected_node.module, line 246
Code
function protected_node_disabling($set = NULL) {
static $disabling = FALSE;
if ($set !== NULL) {
$disabling = $set;
}
return $disabling;
}