Fixed status image for private projects
This commit is contained in:
parent
ae90538a38
commit
86be19f37b
|
@ -54,10 +54,6 @@ class BuildStatusController extends Controller
|
|||
$project = $this->projectStore->getById($projectId);
|
||||
$status = 'passing';
|
||||
|
||||
if (!$project->getAllowPublicStatus()) {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (isset($project) && $project instanceof Project) {
|
||||
$build = $project->getLatestBuild($branch, [2,3]);
|
||||
|
||||
|
|
Loading…
Reference in a new issue