Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-28348 fix meta sync when unassigning roles

  • Loading branch information...
commit d5cb69e9bafb730bb2412f559952adf530e90076 1 parent 93d82f4
@skodak skodak authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  enrol/meta/locallib.php
View
2  enrol/meta/locallib.php
@@ -115,7 +115,7 @@ public function role_unassigned($ra) {
}
// unassing role, there is no other role assignment in parent course
- role_unassign($ra->roleid, $ra->userid, $ra->contextid, 'enrol_meta', $enrol->id);
+ role_unassign($ra->roleid, $ra->userid, $context->id, 'enrol_meta', $enrol->id);
}
return true;
Please sign in to comment.
Something went wrong with that request. Please try again.