MDL-35597 admin-plugins: are now sorted alphabetically
authorSam Hemelryk <sam@moodle.com>
Wed, 11 Dec 2013 21:02:22 +0000 (10:02 +1300)
committerSam Hemelryk <sam@moodle.com>
Sun, 12 Jan 2014 19:12:42 +0000 (08:12 +1300)
admin/settings/plugins.php

index 283d02a..b7a3fe9 100644 (file)
@@ -25,6 +25,9 @@
 */
 
 if ($hassiteconfig) {
+    /* @var admin_root $ADMIN */
+    $ADMIN->locate('modules')->set_sorting(true);
+
     $ADMIN->add('modules', new admin_page_pluginsoverview());
 
     // activity modules