You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2019/02/09 13:36:00 UTC
[whimsy] branch master updated: Legacy LDAP is no longer used
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 <se...@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|