From 1cb7758a76d82121daddc631adb5572823eb6ca0 Mon Sep 17 00:00:00 2001 From: Dries Date: Tue, 24 Jan 2012 17:21:47 -0500 Subject: - Patch #1000074 by naxoc: node_permission() uses check_plain() without a purpose. --- modules/node/node.module | 1 - 1 file changed, 1 deletion(-) (limited to 'modules/node') diff --git a/modules/node/node.module b/modules/node/node.module index 51f06df57..2cba76a1d 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -2962,7 +2962,6 @@ function node_node_access($node, $op, $account) { */ function node_list_permissions($type) { $info = node_type_get_type($type); - $type = check_plain($info->type); // Build standard list of node permissions for this type. $perms = array( -- cgit v1.2.3