summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries <dries@buytaert.net>2012-01-24 17:21:47 -0500
committerDries <dries@buytaert.net>2012-01-24 17:21:47 -0500
commit1cb7758a76d82121daddc631adb5572823eb6ca0 (patch)
tree31af86779eb2eea5d7e6e10b37f5913156bfc21c
parent3e65eb96874928768aa16fd83abc6b0ded41b6ef (diff)
downloadbrdo-1cb7758a76d82121daddc631adb5572823eb6ca0.tar.gz
brdo-1cb7758a76d82121daddc631adb5572823eb6ca0.tar.bz2
- Patch #1000074 by naxoc: node_permission() uses check_plain() without a purpose.
-rw-r--r--modules/node/node.module1
1 files changed, 0 insertions, 1 deletions
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(