Commit b4e0f11f authored by Dries's avatar Dries
Browse files

- Patch #1000074 by naxoc: node_permission() uses check_plain() without a purpose.

parent fc7c985b
...@@ -3141,7 +3141,6 @@ function node_node_access($node, $op, $account) { ...@@ -3141,7 +3141,6 @@ function node_node_access($node, $op, $account) {
*/ */
function node_list_permissions($type) { function node_list_permissions($type) {
$info = node_type_get_type($type); $info = node_type_get_type($type);
$type = check_plain($info->type);
// Build standard list of node permissions for this type. // Build standard list of node permissions for this type.
$perms = array( $perms = array(
......
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