]> git.mjollnir.org Git - moodle.git/commitdiff
Sort subscribers by email address (easier to find subscribers based on
authormoodler <moodler>
Sat, 12 Apr 2003 07:52:52 +0000 (07:52 +0000)
committermoodler <moodler>
Sat, 12 Apr 2003 07:52:52 +0000 (07:52 +0000)
bounced messages)

mod/forum/lib.php

index c2703e69ff028308f8eb777d0f0857eb3743eec5..2bdf785ef7277540eb257a821cf879bb1cb2e639 100644 (file)
@@ -631,7 +631,8 @@ function forum_subscribed_users($course, $forum) {
                                    {$CFG->prefix}forum_subscriptions s
                              WHERE s.forum = '$forum->id'
                                AND s.userid = u.id 
-                               AND u.deleted <> 1");
+                               AND u.deleted <> 1
+                          ORDER BY u.email ASC");
 }