From 12a6bbc36a85fce8e4025470ea559a2830617eb9 Mon Sep 17 00:00:00 2001 From: Lin Jen-Shin <godfat@godfat.org> Date: Wed, 28 Sep 2016 15:28:01 +0800 Subject: [PATCH] Prefix _ to show that it's intended unused, feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6342#note_16073734 --- app/models/ci/pipeline.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/ci/pipeline.rb b/app/models/ci/pipeline.rb index fd50abe1c36..61bb89a0a23 100644 --- a/app/models/ci/pipeline.rb +++ b/app/models/ci/pipeline.rb @@ -115,7 +115,7 @@ module Ci end # For now the only user who participates is the user who triggered - def participants(current_user = nil) + def participants(_current_user = nil) [user] end -- GitLab