From 507b2a8cd1dc5fa9b3126657c6edc53282fb6748 Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Fri, 18 May 2001 21:57:52 +0000 Subject: 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). --- includes/module.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'includes') 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; -- cgit v1.2.3