Skip to content
Snippets Groups Projects
Commit 4913b403 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

do not show confidential issues, re !4

parent 7dcd376f
No related branches found
No related tags found
No related merge requests found
...@@ -51,6 +51,10 @@ final class MergeController extends TracToGitlab\GitlabController ...@@ -51,6 +51,10 @@ final class MergeController extends TracToGitlab\GitlabController
); );
$issues = array_filter($issues, function ($issue) { $issues = array_filter($issues, function ($issue) {
if ($issue['confidential']) {
return false;
}
foreach (['worksforme', 'wontfix', 'Duplicate', 'invalid'] as $label) { foreach (['worksforme', 'wontfix', 'Duplicate', 'invalid'] as $label) {
if (in_array($label, $issue['labels'])) { if (in_array($label, $issue['labels'])) {
return false; return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment