Skip to content

Support specifying the enrolment status - #3

Open
FMCorz wants to merge 2 commits into
phish108:masterfrom
branchup:master
Open

Support specifying the enrolment status#3
FMCorz wants to merge 2 commits into
phish108:masterfrom
branchup:master

Conversation

@FMCorz

@FMCorz FMCorz commented Apr 5, 2022

Copy link
Copy Markdown

Here is a pull request that lets someone specify the enrolment status.

The idea is to be able to display content to those who a) are not enrolled at all, b) who are enrolled but have been suspended. For instance to promote the course prior to enrolment, and to probe the learner once the enrolment has become inactive.

Some stylistic changes and minor PHP doc improvements have been made along the way.

This change should be backwards compatible as it fallsback on the previous behaviour by defining the default mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant