mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Merge branch 'MDL-43200' of git://github.com/apsdehal/moodle
This commit is contained in:
commit
1cb3c0facc
@ -109,6 +109,7 @@ class enrol_manual_external extends external_api {
|
||||
}
|
||||
|
||||
// Check manual enrolment plugin instance is enabled/exist.
|
||||
$instance = null;
|
||||
$enrolinstances = enrol_get_instances($enrolment['courseid'], true);
|
||||
foreach ($enrolinstances as $courseenrolinstance) {
|
||||
if ($courseenrolinstance->enrol == "manual") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user