summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/archive.module12
-rw-r--r--modules/archive/archive.module12
-rw-r--r--modules/search.module8
-rw-r--r--modules/search/search.module8
4 files changed, 0 insertions, 40 deletions
diff --git a/modules/archive.module b/modules/archive.module
index 594e5f7b7..f915e1884 100644
--- a/modules/archive.module
+++ b/modules/archive.module
@@ -194,18 +194,6 @@ function archive_link($type) {
}
}
- if ($type == "system") {
- if (user_access("access content")) {
- menu("archive", t("archives"), "archive_page", 0, 1);
- }
- }
-
- if ($type == "system") {
- if (user_access("access content")) {
- menu("archive", t("archives"), "archive_page", 0, 1);
- }
- }
-
return $links;
}
diff --git a/modules/archive/archive.module b/modules/archive/archive.module
index 594e5f7b7..f915e1884 100644
--- a/modules/archive/archive.module
+++ b/modules/archive/archive.module
@@ -194,18 +194,6 @@ function archive_link($type) {
}
}
- if ($type == "system") {
- if (user_access("access content")) {
- menu("archive", t("archives"), "archive_page", 0, 1);
- }
- }
-
- if ($type == "system") {
- if (user_access("access content")) {
- menu("archive", t("archives"), "archive_page", 0, 1);
- }
- }
-
return $links;
}
diff --git a/modules/search.module b/modules/search.module
index 43c016156..efb5876c1 100644
--- a/modules/search.module
+++ b/modules/search.module
@@ -46,14 +46,6 @@ function search_link($type) {
menu("search", t("search"), "search_page", 0, 1);
}
- if ($type == "system" && user_access("search content")) {
- menu("search", t("search"), "search_page", 0, 1);
- }
-
- if ($type == "system" && user_access("search content")) {
- menu("search", t("search"), "search_page", 0, 1);
- }
-
return $links;
}
diff --git a/modules/search/search.module b/modules/search/search.module
index 43c016156..efb5876c1 100644
--- a/modules/search/search.module
+++ b/modules/search/search.module
@@ -46,14 +46,6 @@ function search_link($type) {
menu("search", t("search"), "search_page", 0, 1);
}
- if ($type == "system" && user_access("search content")) {
- menu("search", t("search"), "search_page", 0, 1);
- }
-
- if ($type == "system" && user_access("search content")) {
- menu("search", t("search"), "search_page", 0, 1);
- }
-
return $links;
}