From: moodler Date: Tue, 17 Feb 2004 12:18:02 +0000 (+0000) Subject: On second thoughts, Eloy was right - showall is useless. :-) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f8f63ecdd5322f613fd450f18eb78f70d31d8ead;p=moodle.git On second thoughts, Eloy was right - showall is useless. :-) --- 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);