Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-43200 WebServices: Reset Instance variable

  • Loading branch information...
commit a1b52cb28208798ccded97f449b54e59160b75d5 1 parent 4f6e4f8
@apsdehal apsdehal authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  enrol/manual/externallib.php
View
1  enrol/manual/externallib.php
@@ -109,6 +109,7 @@ public static function enrol_users($enrolments) {
}
// 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") {
Please sign in to comment.
Something went wrong with that request. Please try again.