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

merge-requests/26/head
Dries 2012-01-24 17:21:47 -05:00
parent 3e65eb9687
commit 1cb7758a76
1 changed files with 0 additions and 1 deletions

View File

@ -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(