diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2001-05-18 21:57:52 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2001-05-18 21:57:52 +0000 |
commit | 507b2a8cd1dc5fa9b3126657c6edc53282fb6748 (patch) | |
tree | 53edbc43d6a35bf0ccad8059b815581c2ee39699 | |
parent | 36cbbe1016b9329aaa6526467ca05f008270ace8 (diff) | |
download | brdo-507b2a8cd1dc5fa9b3126657c6edc53282fb6748.tar.gz brdo-507b2a8cd1dc5fa9b3126657c6edc53282fb6748.tar.bz2 |
Made module_list() return an alphabetically sorted list.
On Windows machines (not sure about *nix boxes) it's not always pre-sorted by the filesystem. It has no effect code-wise, but it will cause all module-lists in Drupal to be sorted alphabetically (e.g. the links in admin.php).
-rw-r--r-- | includes/module.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/module.inc b/includes/module.inc index 732584861..553aa1d80 100644 --- a/includes/module.inc +++ b/includes/module.inc @@ -36,6 +36,7 @@ function module_list() { } } closedir($handle); + sort($list); } return $list; |