mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Restricted users can't enrol in other courses
This commit is contained in:
parent
3ed0a1c316
commit
f3436de6a7
@ -19,6 +19,7 @@
|
||||
error("Could not find a site!");
|
||||
}
|
||||
|
||||
check_for_restricted_user($USER->username);
|
||||
|
||||
/// Check the submitted enrollment key if there is one
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user