From 94f5eee15add395831056010abb3304e9f215c7a Mon Sep 17 00:00:00 2001
From: Kjartan Mannes <kjartan@2.no-reply.drupal.org>
Date: Fri, 6 Jun 2003 14:07:45 +0000
Subject: [PATCH] - adding admin module to module_list.

---
 includes/module.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/includes/module.inc b/includes/module.inc
index d126944a9743..1732104a27c8 100644
--- a/includes/module.inc
+++ b/includes/module.inc
@@ -49,7 +49,7 @@ function module_list($refresh = 0) {
   }
 
   if (!$list) {
-    $list = array("system" => "system", "user" => "user", "watchdog" => "watchdog");
+    $list = array("admin" => "admin", "system" => "system", "user" => "user", "watchdog" => "watchdog");
     $result = db_query("SELECT name, filename FROM system WHERE type = 'module' AND status = '1' ORDER BY name");
     while ($module = db_fetch_object($result)) {
       if (file_exists($module->filename)) {
-- 
GitLab