diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-11-08 19:42:48 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-11-08 19:42:48 +0000 |
commit | a4f34e6bb203cb575425741050cb24318c2bed92 (patch) | |
tree | 3aec7317208ee9b1f5ee48cb512cd8caf289d29b /modules/node | |
parent | 42530dc6e3d551c048d5f0306853ed100620431e (diff) | |
download | brdo-a4f34e6bb203cb575425741050cb24318c2bed92.tar.gz brdo-a4f34e6bb203cb575425741050cb24318c2bed92.tar.bz2 |
- Patch #72487 by chx et al: removing broken API.
Diffstat (limited to 'modules/node')
-rw-r--r-- | modules/node/node.module | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/node/node.module b/modules/node/node.module index 02840c7a6..f271c7c2b 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -2561,12 +2561,10 @@ function node_search_validate($form_id, $form_values, $form) { * @param $node * The node object (or node array) on which the operation is to be performed, * or node type (e.g. 'forum') for "create" operation. - * @param $uid - * The user ID on which the operation is to be performed. * @return * TRUE if the operation may be performed. */ -function node_access($op, $node = NULL, $uid = NULL) { +function node_access($op, $node = NULL) { // Convert the node to an object if necessary: if ($op != 'create') { $node = (object)$node; |