summaryrefslogtreecommitdiff
path: root/modules/archive.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/archive.module')
-rw-r--r--modules/archive.module6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/archive.module b/modules/archive.module
index 0677b1766..58a682182 100644
--- a/modules/archive.module
+++ b/modules/archive.module
@@ -188,6 +188,12 @@ function archive_link($type) {
$links[] = l(t("archives"), "archive", array("title" => t("Read the older content in our archive.")));
}
+ if ($type == "system") {
+ if (user_access("access content")) {
+ menu("archive", t("archives"), "archive_page", 0, 1);
+ }
+ }
+
return $links;
}