summaryrefslogtreecommitdiff
path: root/modules/node
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-11-24 20:59:32 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-11-24 20:59:32 +0000
commit5dcacebf263096cc79f4a2ca05ad39a4d62888ae (patch)
treec462e52045bdc07a191bf8c3ab90bad1a80659f4 /modules/node
parentc975b69d1c9fb349e4df6d16c9c645f8392c2759 (diff)
downloadbrdo-5dcacebf263096cc79f4a2ca05ad39a4d62888ae.tar.gz
brdo-5dcacebf263096cc79f4a2ca05ad39a4d62888ae.tar.bz2
#194166 rollback and additional comments by chx: developers can modify menu editing behavior with hook_form_alter(), no need for menu API hacks, which were half done anyway
Diffstat (limited to 'modules/node')
-rw-r--r--modules/node/node.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index 5b23b5ac2..967c0a5c8 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -1335,7 +1335,7 @@ function node_menu() {
'title' => 'Content',
'page callback' => 'node_page_default',
'access arguments' => array('access content'),
- 'type' => MENU_MODIFIABLE_BY_ADMIN,
+ 'type' => MENU_CALLBACK,
);
$items['node/add'] = array(
'title' => 'Create content',