summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/menu.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/menu.inc b/includes/menu.inc
index 85511bff5..4f43f0afa 100644
--- a/includes/menu.inc
+++ b/includes/menu.inc
@@ -1073,7 +1073,7 @@ function _menu_build() {
else {
// It has a permanent ID. Only replace with non-custom menu items.
if ($item->type & MENU_CREATED_BY_ADMIN) {
- $_menu['items'][$item->mid] = array('path' => $item->path, 'access' => TRUE);
+ $_menu['items'][$item->mid] = array('path' => $item->path);
}
else {
// Leave the old item around as a shortcut to this one.
@@ -1085,7 +1085,7 @@ function _menu_build() {
else {
// The path was not declared, so this is a custom item or an orphaned one.
if ($item->type & MENU_CREATED_BY_ADMIN) {
- $_menu['items'][$item->mid] = array('path' => $item->path, 'access' => TRUE);
+ $_menu['items'][$item->mid] = array('path' => $item->path);
if (!empty($item->path)) {
$_menu['path index'][$item->path] = $item->mid;
}