diff options
author | Dries Buytaert <dries@buytaert.net> | 2002-08-14 17:53:44 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2002-08-14 17:53:44 +0000 |
commit | cc0980ec6b51713c654451a86b2608449af86cc9 (patch) | |
tree | 52e32d767b79a05d1019fa672f48c082bcbe87e2 /modules/system/system.module | |
parent | e0357857c0d003e2465f32a559ad5434c361ecae (diff) | |
download | brdo-cc0980ec6b51713c654451a86b2608449af86cc9.tar.gz brdo-cc0980ec6b51713c654451a86b2608449af86cc9.tar.bz2 |
- Bugfix: moved the delete query down. Patch by Marco.
Diffstat (limited to 'modules/system/system.module')
-rw-r--r-- | modules/system/system.module | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/system/system.module b/modules/system/system.module index 1e743aa7a..d071df992 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -150,7 +150,6 @@ function system_modules() { while ($module = db_fetch_object($result)) { $status[$module->name] = $module->status; } - db_query("DELETE FROM system WHERE type = 'module'"); if ($handle = @opendir("modules")) { $modules = array(); @@ -165,6 +164,8 @@ function system_modules() { asort($modules); } + db_query("DELETE FROM system WHERE type = 'module'"); + $required = array("user", "system", "watchdog"); $output .= "<table border=\"1\" cellpadding=\"2\" cellspacing=\"2\">\n"; |