From a4f34e6bb203cb575425741050cb24318c2bed92 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 8 Nov 2006 19:42:48 +0000 Subject: - Patch #72487 by chx et al: removing broken API. --- modules/node/node.module | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'modules/node') 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; -- cgit v1.2.3