Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-27007 fix incorrectly suspended user enrolment when uploading users

This bug surfaced after the recent change in enrol API, credit goes to Chaim Schendowich and Micky Fokken.
  • Loading branch information...
commit 827fcdb34756b2d30d85a717b75e63504db60f62 1 parent eb9d692
@skodak skodak authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  admin/uploaduser.php
2  admin/uploaduser.php
@@ -774,7 +774,7 @@
- $manual->enrol_user($manualcache[$courseid], $user->id, $rid, $today, $timeend, true);
+ $manual->enrol_user($manualcache[$courseid], $user->id, $rid, $today, $timeend);
$a = new stdClass();
$a->course = $shortname;
Please sign in to comment.
Something went wrong with that request. Please try again.