whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Legacy LDAP is no longer used
Date Sat, 09 Feb 2019 13:36:00 GMT
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 8043e4e  Legacy LDAP is no longer used
8043e4e is described below

commit 8043e4e756bce145c06360c3e70a29f9fa568e10
Author: Sebb <sebb@apache.org>
AuthorDate: Sat Feb 9 13:35:53 2019 +0000

    Legacy LDAP is no longer used
---
 lib/whimsy/asf/ldap.rb | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/lib/whimsy/asf/ldap.rb b/lib/whimsy/asf/ldap.rb
index 55a569f..67606a4 100644
--- a/lib/whimsy/asf/ldap.rb
+++ b/lib/whimsy/asf/ldap.rb
@@ -776,12 +776,7 @@ module ASF
 
     # list of LDAP committees that this individual is a member of
     def committees
-      # legacy LDAP entries
-      committees = weakref(:committees) do
-        Committee.list("member=uid=#{name},#{base}")
-      end
 
-      # add in projects (currently only includes GUINEAPIGS)
       # Get list of project names where the person is an owner
       projects = self.projects.select{|prj| prj.owners.include? self}.map(&:name)
       committees += ASF::Committee.pmcs.select do |pmc| 


Mime
View raw message