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 ed30b31 Oops, left behind (not needed)
ed30b31 is described below
commit ed30b3190745b4845fc8a240ca753e6b6fbfeb73
Author: Sebb <[email protected]>
AuthorDate: Sat Jun 19 21:20:32 2021 +0100
Oops, left behind (not needed)
---
lib/whimsy/asf/ldap.rb | 1 -
1 file changed, 1 deletion(-)
diff --git a/lib/whimsy/asf/ldap.rb b/lib/whimsy/asf/ldap.rb
index f01f05d..3432061 100644
--- a/lib/whimsy/asf/ldap.rb
+++ b/lib/whimsy/asf/ldap.rb
@@ -902,7 +902,6 @@ module ASF
# update an LDAP attribute for this person. This needs to be run
# either inside or after ASF::LDAP.bind.
def modify(attr, value)
- value = Array(value)
ASF::LDAP.modify(self.dn, [ASF::Base.mod_replace(attr.to_s, value)])
# attributes are expected to be arrays
attrs[attr.to_s] = value.is_a?(String) ? [value] : value