summaryrefslogtreecommitdiff
path: root/modules/comment/comment.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-12-17 22:27:23 +0000
committerDries Buytaert <dries@buytaert.net>2003-12-17 22:27:23 +0000
commitd5c802645479f872fbce9f9cd9cbed78d4f57b50 (patch)
treef5f7a655c6b0b629b5590c9a3fe79dd335d1d8e6 /modules/comment/comment.module
parent928c113b82833cd1f1dfbe42f813ed3547b9ede7 (diff)
downloadbrdo-d5c802645479f872fbce9f9cd9cbed78d4f57b50.tar.gz
brdo-d5c802645479f872fbce9f9cd9cbed78d4f57b50.tar.bz2
- Updated the calls to menu() to use MENU_HIDE instead of 1
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r--modules/comment/comment.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index de4073b88..4a5192365 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -842,7 +842,7 @@ function comment_link($type, $node = 0, $main = 0) {
menu("admin/comment/comments/1", t("approval queue"), "comment_admin", 2);
menu("admin/comment/search", t("search"), "comment_admin", 8);
menu("admin/comment/help", t("help"), "comment_help_page", 9);
- menu("admin/comment/edit", t("edit comment"), "comment_admin", 0, 1);
+ menu("admin/comment/edit", t("edit comment"), "comment_admin", 0, MENU_HIDE);
// comment settings:
if (user_access("administer moderation")) {
@@ -853,7 +853,7 @@ function comment_link($type, $node = 0, $main = 0) {
menu("admin/comment/moderation/roles", t("initial scores"), "comment_admin", 6);
}
}
- menu("comment", t("comments"), "comment_page", 0, 1);
+ menu("comment", t("comments"), "comment_page", 0, MENU_HIDE);
}
return $links;