diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-10-12 15:34:08 +0200 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-10-12 15:34:08 +0200 |
commit | 7a0cc665ff5ad3969f36082baa162a2169c34612 (patch) | |
tree | 68fae074916b257155fc481885e2423fe68594c6 /app | |
parent | 41075bad8daeed07bceaa44cbfe54ab1b470ca87 (diff) | |
download | gitlab-ce-7a0cc665ff5ad3969f36082baa162a2169c34612.tar.gz |
Remove useless assignment
Diffstat (limited to 'app')
-rw-r--r-- | app/models/concerns/participable.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/concerns/participable.rb b/app/models/concerns/participable.rb index 22182445978..ffc874357fd 100644 --- a/app/models/concerns/participable.rb +++ b/app/models/concerns/participable.rb @@ -38,7 +38,7 @@ module Participable # Be aware that this method makes a lot of sql queries. # Save result into variable if you are going to reuse it inside same request def participants(current_user = self.author) - participants = self.class.participant_attrs.flat_map do |attr| + self.class.participant_attrs.flat_map do |attr| meth = method(attr) value = |