Fixing the ability to delete projects. Fixes #535
This commit is contained in:
parent
25f7e34cae
commit
1a9f813235
|
@ -118,7 +118,7 @@ class ProjectController extends \PHPCI\Controller
|
|||
}
|
||||
|
||||
$project = $this->projectStore->getById($projectId);
|
||||
$this->projectService->delete($project);
|
||||
$this->projectService->deleteProject($project);
|
||||
|
||||
header('Location: '.PHPCI_URL);
|
||||
exit;
|
||||
|
|
Loading…
Reference in a new issue