diff options
author | David Rothstein <drothstein@gmail.com> | 2015-03-30 19:03:15 -0400 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2015-03-30 19:03:15 -0400 |
commit | e8a38c6175619fea2e3b1bbcc39c6a4cf35af5d6 (patch) | |
tree | 12fe919840caa89ce91e4d8e46d8e64e49e4f120 /modules/node | |
parent | 517f137d4aa1e3681f46a4767ef0e5bcefa7ea40 (diff) | |
download | brdo-e8a38c6175619fea2e3b1bbcc39c6a4cf35af5d6.tar.gz brdo-e8a38c6175619fea2e3b1bbcc39c6a4cf35af5d6.tar.bz2 |
Issue #2283717 by joshi.rohit100, amitgoyal, g3r4, er.pushpinderrana: Remove user_access function calls on hook_permission functions so the Permissions page consistently links to other admin pages for all users
Diffstat (limited to 'modules/node')
-rw-r--r-- | modules/node/node.module | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/node/node.module b/modules/node/node.module index ebac07902..a9c1d23e8 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1578,9 +1578,7 @@ function node_permission() { ), 'access content overview' => array( 'title' => t('Access the content overview page'), - 'description' => user_access('access content overview') - ? t('Get an overview of <a href="@url">all content</a>.', array('@url' => url('admin/content'))) - : t('Get an overview of all content.'), + 'description' => t('Get an overview of <a href="@url">all content</a>.', array('@url' => url('admin/content'))), ), 'access content' => array( 'title' => t('View published content'), |