This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new e936f8c Overlooked this one
e936f8c is described below
commit e936f8c7fbdb1c57401f9d96e16f206351273246
Author: Sebb <[email protected]>
AuthorDate: Thu Jan 31 09:48:22 2019 +0000
Overlooked this one
---
www/roster/views/actions/committee.json.rb | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/www/roster/views/actions/committee.json.rb
b/www/roster/views/actions/committee.json.rb
index 08b2174..b69031a 100644
--- a/www/roster/views/actions/committee.json.rb
+++ b/www/roster/views/actions/committee.json.rb
@@ -106,13 +106,8 @@ if env.password
end
details = people.map {|person| person.dn}
- if ASF::Committee::isGuineaPig? pmc.id
- details << "#{pmc.dn};attr=owner" if @targets.include? 'pmc'
- details << "#{pmc.dn};attr=member" if group
- else
- details << pmc.dn if @targets.include? 'pmc'
- details << group.dn if group
- end
+ details << "#{pmc.dn};attr=owner" if @targets.include? 'pmc'
+ details << "#{pmc.dn};attr=member" if group
cc = people.map do |person|
"#{person.public_name.inspect} <#{person.id}@apache.org>".untaint