chore: Replace tabs with spaces

This commit is contained in:
Llewelyn Williams 2023-06-05 16:35:16 +01:00 committed by GitHub
parent 8ba5f460f9
commit 06d72e68b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -744,8 +744,8 @@ display: inline-block;"
}
// Moodle has multiple roles in courses.
$isstudent = !in_array('teacher', $roles)
&& !in_array('editingteacher', $roles)
&& !in_array('managerteacher', $roles);
&& !in_array('editingteacher', $roles)
&& !in_array('managerteacher', $roles);
$isregistered = $apiprovider->auto_registrate_member($name, $USER->email, $isstudent ? 3 : 2);
if (!$isregistered) {
return true;