diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-07-06 23:20:37 -0700 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-07-06 23:20:37 -0700 |
commit | 8da5cc2b756d9883451fb3be8696eede7895e584 (patch) | |
tree | 668fcb05de2ab7b377137cd361d15510a1f08c22 /modules/node/node.module | |
parent | 1f00fb6cc7595b05cfd7c138d0ef490de7da91f8 (diff) | |
download | brdo-8da5cc2b756d9883451fb3be8696eede7895e584.tar.gz brdo-8da5cc2b756d9883451fb3be8696eede7895e584.tar.bz2 |
Issue #237634 by salvis: Document that node_access_write_grants() should not be called directly.
Diffstat (limited to 'modules/node/node.module')
-rw-r--r-- | modules/node/node.module | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/node/node.module b/modules/node/node.module index 2a4db4e88..aa4c1fb6f 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -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. |