From 726020a2ef3af5452daef32e65095483d36d7a3f Mon Sep 17 00:00:00 2001 From: martin Date: Sat, 10 Aug 2002 15:10:04 +0000 Subject: [PATCH] Tweak to display on "unenrol" --- user/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/lib.php b/user/lib.php index 540b766b24..3220e6ba62 100644 --- a/user/lib.php +++ b/user/lib.php @@ -68,8 +68,8 @@ function print_user($user, $course, $string) { if (isteacher($course->id)) { $timemidnight = usergetmidnight(time()); echo "id&user=$user->id\">$string->activity
"; - echo "id&user=$user->id\">$string->unenrol
"; if (isstudent($course->id, $user->id)) { + echo "id&user=$user->id\">$string->unenrol
"; echo "id&user=$user->id\">$string->loginas
"; } } -- 2.39.5