Commit 507b2a8c authored by Steven Wittens's avatar Steven Wittens
Browse files

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).
parent 36cbbe10
...@@ -36,6 +36,7 @@ function module_list() { ...@@ -36,6 +36,7 @@ function module_list() {
} }
} }
closedir($handle); closedir($handle);
sort($list);
} }
return $list; return $list;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment