From 800a58f571e4f6cd4288653abf505cc385eb8d2d Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 30 Nov 2003 10:39:15 +0000 Subject: - Removed duplicated code. Reported by Goba. --- modules/archive/archive.module | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'modules/archive/archive.module') 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; } -- cgit v1.2.3