MDL-59366 core: New enrolid param for get_enrolled_* functions
authorJun Pataleta <jun@moodle.com>
Mon, 24 Jul 2017 04:52:28 +0000 (12:52 +0800)
committerJun Pataleta <jun@moodle.com>
Fri, 28 Jul 2017 03:32:13 +0000 (11:32 +0800)
* New optional parameter $enrolid for the following functions:
  - get_enrolled_join()
  - get_enrolled_sql()
  - get_enrolled_with_capabilities_join()
  Setting this parameter to a non-zero value will add a condition
  to the query such that only users that were enrolled with this
  enrolment method will be returned.

Part of MDL-59290.


No differences found