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