Skip to content

Commit ceba62b

Browse files
author
David Simpson
committed
remove unnecessary connection in project_openldap utils.py
Signed-off-by: David Simpson <>
1 parent 72dbd32 commit ceba62b

File tree

1 file changed

+0
-2
lines changed
  • coldfront/plugins/project_openldap

1 file changed

+0
-2
lines changed

coldfront/plugins/project_openldap/utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,6 @@ def remove_dn_from_openldap(dn, write=True):
170170

171171
try:
172172
conn.delete(dn)
173-
conn.unbind()
174-
conn = openldap_connection(server, PROJECT_OPENLDAP_BIND_USER, PROJECT_OPENLDAP_BIND_PASSWORD)
175173
except Exception as exc_log:
176174
logger.info(exc_log)
177175
finally:

0 commit comments

Comments
 (0)