]> git.mjollnir.org Git - moodle.git/commitdiff
On second thoughts, Eloy was right - showall is useless. :-)
authormoodler <moodler>
Tue, 17 Feb 2004 12:18:02 +0000 (12:18 +0000)
committermoodler <moodler>
Tue, 17 Feb 2004 12:18:02 +0000 (12:18 +0000)
user/index.php

index 62556e2dd966efb831eb8aa1efe4b7e9cda49f83..feda2bda4e385f969bcb9e515551e16dc5dd2803 100644 (file)
@@ -14,7 +14,6 @@
     optional_variable($lastinitial, "");     // only show students with this last initial
     optional_variable($firstinitial, "");    // only show students with this first initial
     optional_variable($perpage, "20");       // how many per page
-    optional_variable($showall, "");         // SHow everyone on one page
 
 
     if (! $course = get_record("course", "id", $id)) {
                 $lastaccess = $strnever;
             }
 
-            if ($showall and $numstudents > USER_LARGE_CLASS) {  // Don't show pictures
-                $picture = "";
-            } else {
-                $picture = print_user_picture($student->id, $course->id, $student->picture, false, true);
-            }
+            $picture = print_user_picture($student->id, $course->id, $student->picture, false, true);
 
             $fullname = fullname($student, $isteacher);