Skip to content
Snippets Groups Projects
Commit 8da5cc2b authored by Angie Byron's avatar Angie Byron
Browse files

Issue #237634 by salvis: Document that node_access_write_grants() should not be called directly.

parent 1f00fb6c
No related branches found
No related tags found
No related merge requests found
......@@ -3339,6 +3339,9 @@ function node_access_acquire_grants($node, $delete = TRUE) {
* node_access can use this function when doing mass updates due to widespread
* permission changes.
*
* Note: Don't call this function directly from a contributed module. Call
* node_access_acquire_grants() instead.
*
* @param $node
* The $node being written to. All that is necessary is that it contains a
* nid.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment