You are here

public function Github_Api_Issue::reOpen in Bibliography Module 7.2

Repoen an existing issue by username, repo and issue number. Requires authentication. http://develop.github.com/p/issues.html#open_and_close_issues

Parameters

string $username the username:

string $repo the repo:

string $issueNumber the issue number:

Return value

array informations about the issue

File

modules/CiteProc/Github/Api/Issue.php, line 140

Class

Github_Api_Issue
Listing issues, searching, editing and closing your projects issues.

Code

public function reOpen($username, $repo, $issueNumber) {
  $response = $this
    ->post('issues/reopen/' . urlencode($username) . '/' . urlencode($repo) . '/' . urlencode($issueNumber));
  return $response['issue'];
}