* Add list function for mr control(staging).
This commit is contained in:
@@ -30,6 +30,14 @@ class mr extends control
|
||||
$this->display();
|
||||
}
|
||||
|
||||
public function list($repoID)
|
||||
{
|
||||
$gitlab = $this->mr->getGitlabProjectByRepo($repoID);
|
||||
$resp = $this->mr->apiGetMRList($gitlab->gitlabID, $gitlab->projectID);
|
||||
a($resp);
|
||||
return $resp;
|
||||
}
|
||||
|
||||
public function create()
|
||||
{
|
||||
}
|
||||
@@ -38,7 +46,6 @@ class mr extends control
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
public function update()
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user