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 2017/12/14 10:07:00 UTC
[whimsy] branch master updated: flush_weakrefs is in parent module
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 a19a297 flush_weakrefs is in parent module
a19a297 is described below
commit a19a2972c48c7225b23262fb74dea4efc1c502ff
Author: Sebb <se...@apache.org>
AuthorDate: Thu Dec 14 10:06:50 2017 +0000
flush_weakrefs is in parent module
---
lib/whimsy/asf/ldap.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/whimsy/asf/ldap.rb b/lib/whimsy/asf/ldap.rb
index ba50d09..53a57bc 100644
--- a/lib/whimsy/asf/ldap.rb
+++ b/lib/whimsy/asf/ldap.rb
@@ -141,14 +141,14 @@ module ASF
ASF.ldap.unbind if ASF.ldap.bound? rescue nil
ldap = ASF.init_ldap(true)
if block
- self.flush_weakrefs
+ ASF.flush_weakrefs
ldap.bind(dn, password, &block)
ASF.init_ldap(true)
else
ldap.bind(dn, password)
end
ensure
- self.flush_weakrefs
+ ASF.flush_weakrefs
end
# validate HTTP authorization, and optionally invoke a block bound to
--
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].