Skip to content

Commit

Permalink
Optional attributes do not work; not actually used
Browse files Browse the repository at this point in the history
See ASF::Person.preload
  • Loading branch information
sebbASF committed Mar 19, 2024
1 parent 649a81e commit 7e4fa31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/whimsy/asf/ldap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -680,8 +680,8 @@ class Person < Base

# Obtain a list of people known to LDAP. LDAP filters may be used
# to retrieve only a subset.
def self.list(filter='uid=*', attributes='uid')
ASF.search_one(base, filter, attributes).flatten.map {|uid| find(uid)}
def self.list(filter='uid=*')
ASF.search_one(base, filter, 'uid').flatten.map {|uid| find(uid)}
end

# Obtain a list of people (ids) known to LDAP. LDAP filters may be used
Expand Down

0 comments on commit 7e4fa31

Please sign in to comment.