- Patch #1000074 by naxoc: node_permission() uses check_plain() without a purpose.
parent
3e65eb9687
commit
1cb7758a76
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue