Skip to content

Adds implementation of GitHub Enterprise suspend / unsuspend user #207

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

Closed
wants to merge 1 commit into from
Closed

Adds implementation of GitHub Enterprise suspend / unsuspend user #207

wants to merge 1 commit into from

Conversation

mdwheele
Copy link

@mdwheele mdwheele commented Nov 5, 2014

My company just moved to a site license and I had a need for unsuspending many users. I went ahead and did a first-pass implementation of this but there are no tests. Before merging this, I am completely willing to go write tests; I just did this in a rush and figured I'd contribute the commit.

Thanks! Let me know if you'd like method naming etc. to be changed.

@stof
Copy link
Contributor

stof commented Dec 29, 2014

Tests are missing

{
$this->delete('users/' . rawurlencode($username) . '/suspended');
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Files must end in a single new line.

@pilot pilot closed this in 8218263 Feb 23, 2015
pilot added a commit that referenced this pull request Feb 23, 2015
Added user suspension & un-suspension, resolves #207.
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.

3 participants