summaryrefslogtreecommitdiff
path: root/modules/node/node.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/node/node.module')
-rw-r--r--modules/node/node.module4
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;