by Melanie Treitinger.
What exactly is the difference between core_enrol_get_enrolled_users and core_enrol_get_enrolled_users_with_capability?
As I see it, they are doing basicly the same:
"withcapability" is an optional argument for core_enrol_get_enrolled_users.
core_enrol_get_enrolled_users_with_capability takes a list of users and capabilities - is that the difference?
Or am I missing something?