mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
use Connectible.disconnect() instead of .destroy_connection()
Destroy connection is an internal function of Connectible and therefore it should not be used directly. https://fedorahosted.org/freeipa/ticket/4991 Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
This commit is contained in:
@@ -852,7 +852,7 @@ class user_status(LDAPQuery):
|
||||
count += 1
|
||||
|
||||
if host != api.env.host:
|
||||
other_ldap.destroy_connection()
|
||||
other_ldap.disconnect()
|
||||
|
||||
return dict(result=entries,
|
||||
count=count,
|
||||
|
||||
Reference in New Issue
Block a user