Commit a4f34e6b authored by Dries's avatar Dries
Browse files

- Patch #72487 by chx et al: removing broken API.

parent 42530dc6
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment