Suspended users show 'active' in previously enrolled courses

Re: Suspended users show 'active' in previously enrolled courses

by Al Henneberger -
Number of replies: 2

Thank you for your response.

While your solution may be the answer to my issue, I do not have access to the php files, even though I am the Administrator.  IT has prevented such access.

Before I try to get IT to modify the php files, I do have questions.

  1. Basically, what does this Boolean change do?
  2. Is this a modification that would have to be redone every time we upgrade?
  3. Is there a way to do this through one of the Administrator settings?

Again, thank you for your solution.

In reply to Al Henneberger

Re: Suspended users show 'active' in previously enrolled courses

by Alex Sandu -

1. if it is TRUE, then the function will return all courses in which the user is enrolled, with the following restrictions:
  • the status of the user enrollment is not SUSPENDED,
  • the instance of the enrollment method is ACTIVE,
  • time-start of user enrollment is in the past,
  • time-end of user enrollment does not exist OR is in the future.
2. yes
3. not because it is hard coded, at least until now


Average of ratings: Useful (1)
In reply to Alex Sandu

Re: Suspended users show 'active' in previously enrolled courses

by Al Henneberger -

Thank you for your response, Alex.

I'll see if I can talk IT into making the change.