Skip to content

Add ability to delete an issue comment #150

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

Merged
merged 2 commits into from
Oct 3, 2016

Conversation

quentin-st
Copy link
Contributor

For now, we can only add and update comments.
This PR adds the ability to delete a comment.

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
Copy link
Contributor

Choose a reason for hiding this comment

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

@chteuchteu pls remove this file from the commit

@quentin-st
Copy link
Contributor Author

Just rebased my PR to remove the nasty .idea/vcs.xml file that slipped into it

* @param int $note_id
* @return mixed
*/
public function deleteComment($project_id, $issue_id, $note_id)
Copy link
Contributor

Choose a reason for hiding this comment

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

@chteuchteu Pls rename to removeComment, to have consistency compared with other methods within the project. See #149 discussion.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!

Copy link

Choose a reason for hiding this comment

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

Thanks!

@radutopala radutopala merged commit 4c934c6 into GitLabPHP:master Oct 3, 2016
@quentin-st quentin-st deleted the api/notes/delete branch October 3, 2016 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants