remove unreachable if
This commit is contained in:
parent
5ae0442bf6
commit
03aeb7e3b1
8 changed files with 10 additions and 10 deletions
|
|
@ -48,7 +48,7 @@ class GithubController extends \PHPCI\Controller
|
|||
$build = new Build();
|
||||
$build->setProjectId($project);
|
||||
$build->setCommitId($payload['after']);
|
||||
$build->setStatus(0);
|
||||
$build->setStatus(Build::STATUS_NEW);
|
||||
$build->setLog('');
|
||||
$build->setCreated(new \DateTime());
|
||||
$build->setBranch(str_replace('refs/heads/', '', $payload['ref']));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue