Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix course list not refreshing and course page not redirecting after unenrolment #347

Open
wants to merge 4 commits into
base: development
Choose a base branch
from

Conversation

sakets3010
Copy link

2 fixes were carried out on pull request #336, namely:-
1)Course page still opens even after unenrolment.
2)Local course list does not refresh after unenrolment.

abhijeetviswa and others added 4 commits September 1, 2021 18:13
This commit introduces a bunch of code to add the ability to unenrol
students from courses. The method is hacky, involving creating an HTTP
session using a private token, followed by emulating a HTML form submit
to do the unenrolment. Unfortunately, Moodle doesn't have a webservice
to allow for unenrolment. :(
…urses fragment after unenrolment

2 fixes were carried out on pull request crux-bphc#336 , namely :-
1)Course page still opens even after unenrolment.
2)Local course list does not refresh after unenrolment.
@abhijeetviswa
Copy link
Member

This PR has two merge commits that are totally necessary. I'm not sure if this a way to convert this directly into a linear history using an interactive rebase. You can always start the process from scratch in a separate branch and cherry pick your specific commit.

I haven't gone through the code yet.

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.

None yet

2 participants