mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
do not display guest when browsing users
This commit is contained in:
parent
38d2d43b01
commit
856f7cb7e6
@ -315,8 +315,8 @@
|
||||
$table->align = array ("left", "left", "left", "left", "left", "center", "center", "center");
|
||||
$table->width = "95%";
|
||||
foreach ($users as $user) {
|
||||
if ($user->username == 'changeme') {
|
||||
continue; // do not dispaly dummy new user
|
||||
if ($user->username == 'changeme' or $user->username == 'guest') {
|
||||
continue; // do not dispaly dummy new user and guest here
|
||||
}
|
||||
|
||||
if ($user->id == $USER->id) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user