From f8f63ecdd5322f613fd450f18eb78f70d31d8ead Mon Sep 17 00:00:00 2001 From: moodler <moodler> Date: Tue, 17 Feb 2004 12:18:02 +0000 Subject: [PATCH] On second thoughts, Eloy was right - showall is useless. :-) --- user/index.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/user/index.php b/user/index.php index 62556e2dd9..feda2bda4e 100644 --- a/user/index.php +++ b/user/index.php @@ -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)) { @@ -218,11 +217,7 @@ $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); -- 2.39.5