remove unreachable if
This commit is contained in:
parent
5ae0442bf6
commit
03aeb7e3b1
8 changed files with 10 additions and 10 deletions
|
|
@ -109,7 +109,7 @@ class BuildController extends \PHPCI\Controller
|
|||
$build = new Build();
|
||||
$build->setProjectId($copy->getProjectId());
|
||||
$build->setCommitId($copy->getCommitId());
|
||||
$build->setStatus(0);
|
||||
$build->setStatus(Build::STATUS_NEW);
|
||||
$build->setBranch($copy->getBranch());
|
||||
$build->setCreated(new \DateTime());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue