- Patch #922412 by moshe weitzman: remove node_access_example_disabling() from docs.
parent
fadf5dad8b
commit
410a814fcb
|
@ -190,10 +190,6 @@ function hook_node_grants($account, $op) {
|
||||||
* @ingroup node_access
|
* @ingroup node_access
|
||||||
*/
|
*/
|
||||||
function hook_node_access_records($node) {
|
function hook_node_access_records($node) {
|
||||||
if (node_access_example_disabling()) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// We only care about the node if it has been marked private. If not, it is
|
// We only care about the node if it has been marked private. If not, it is
|
||||||
// treated just like any other node and we completely ignore it.
|
// treated just like any other node and we completely ignore it.
|
||||||
if ($node->private) {
|
if ($node->private) {
|
||||||
|
|
Loading…
Reference in New Issue