Fixing incorrect method call BuildService::delete() and making the project page reload when a build is deleted. Fixes #528
This commit is contained in:
parent
fa1fd4038a
commit
46c03e030e
2 changed files with 2 additions and 2 deletions
|
|
@ -151,7 +151,7 @@ class BuildController extends \PHPCI\Controller
|
|||
throw new NotFoundException('Build with ID: ' . $buildId . ' does not exist.');
|
||||
}
|
||||
|
||||
$this->buildService->delete($build);
|
||||
$this->buildService->deleteBuild($build);
|
||||
|
||||
header('Location: '.PHPCI_URL.'project/view/' . $build->getProjectId());
|
||||
exit;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue