{"action":"reopened","issue":{"url":"https://api.github.com/repos/woothemes/sensei/issues/798","labels_url":"https://api.github.com/repos/woothemes/sensei/issues/798/labels{/name}","comments_url":"https://api.github.com/repos/woothemes/sensei/issues/798/comments","events_url":"https://api.github.com/repos/woothemes/sensei/issues/798/events","html_url":"https://github.com/woothemes/sensei/issues/798","id":64247892,"number":798,"title":"Add hook to sensei_remove_user_from_course()","user":{"login":"danjjohnson","id":1990037,"avatar_url":"https://avatars.githubusercontent.com/u/1990037?v=3","gravatar_id":"","url":"https://api.github.com/users/danjjohnson","html_url":"https://github.com/danjjohnson","followers_url":"https://api.github.com/users/danjjohnson/followers","following_url":"https://api.github.com/users/danjjohnson/following{/other_user}","gists_url":"https://api.github.com/users/danjjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/danjjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danjjohnson/subscriptions","organizations_url":"https://api.github.com/users/danjjohnson/orgs","repos_url":"https://api.github.com/users/danjjohnson/repos","events_url":"https://api.github.com/users/danjjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/danjjohnson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/woothemes/sensei/milestones/22","html_url":"https://github.com/woothemes/sensei/milestones/Release%201.7.4","labels_url":"https://api.github.com/repos/woothemes/sensei/milestones/22/labels","id":1004092,"number":22,"title":"Release 1.7.4","description":"Fixes more issue after 1.7.0","creator":{"login":"dwainm","id":1713474,"avatar_url":"https://avatars.githubusercontent.com/u/1713474?v=3","gravatar_id":"","url":"https://api.github.com/users/dwainm","html_url":"https://github.com/dwainm","followers_url":"https://api.github.com/users/dwainm/followers","following_url":"https://api.github.com/users/dwainm/following{/other_user}","gists_url":"https://api.github.com/users/dwainm/gists{/gist_id}","starred_url":"https://api.github.com/users/dwainm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwainm/subscriptions","organizations_url":"https://api.github.com/users/dwainm/orgs","repos_url":"https://api.github.com/users/dwainm/repos","events_url":"https://api.github.com/users/dwainm/events{/privacy}","received_events_url":"https://api.github.com/users/dwainm/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":2,"state":"open","created_at":"2015-03-03T14:38:13Z","updated_at":"2015-03-25T12:29:55Z","due_on":"2015-03-10T04:00:00Z","closed_at":null},"comments":3,"created_at":"2015-03-25T11:32:38Z","updated_at":"2015-03-25T12:29:55Z","closed_at":null,"body":"https://woothemes.zendesk.com/agent/tickets/273943\r\n\r\n>The sensei_remove_user_from_lesson static function in the utils class, removes the user from a course, but it does not call an action you can hook into when the user is removed from the course.\r\n\r\n> So you are allowed to hook into when the user is added to a course, but you are not allowed to clean your house, when the user is removed from a course?\r\n\r\n> I can't see another way to handle this. The remove user should have a hook just like the add user has a hook."}}