summaryrefslogtreecommitdiff
path: root/modules/comment/comment.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-02-29 17:16:27 +0000
committerDries Buytaert <dries@buytaert.net>2004-02-29 17:16:27 +0000
commitc73305f6d64db4cc4f8274ae3379d8a2a22cc35c (patch)
treebd0f148f221b23f72f1a5ab9e354bbc2bd3d5b4a /modules/comment/comment.module
parent7d0eb5376d035f05eef56c21805ddf6280fe8ebc (diff)
downloadbrdo-c73305f6d64db4cc4f8274ae3379d8a2a22cc35c.tar.gz
brdo-c73305f6d64db4cc4f8274ae3379d8a2a22cc35c.tar.bz2
- Patch #6129 by Goba: fixed dependencies on search module.
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r--modules/comment/comment.module4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 38c25fc45..2917be5ec 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -806,10 +806,12 @@ function comment_link($type, $node = 0, $main = 0) {
menu("admin/comment/comments", t("overview"), "comment_admin", 2);
menu("admin/comment/comments/0", t("new/updated"), "comment_admin", 1);
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, MENU_HIDE);
menu("admin/comment/delete", t("delete comment"), "comment_admin", 0, MENU_HIDE);
+ if (module_exist('search')) {
+ menu("admin/comment/search", t("search"), "comment_admin", 8);
+ }
// comment settings:
if (user_access("administer moderation")) {