summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-03-01 00:37:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-03-01 00:37:50 -0600
commitc2654f54080667d980d0d055ddaaa11e438eaec8 (patch)
treebbd1bb583ae2d10b362628cf5ee8640a1eaafd75
parent9d5bebacf3dacbe843f2aeeae27bcdb67eaae5ca (diff)
downloadlibtdeldap-c2654f54080667d980d0d055ddaaa11e438eaec8.tar.gz
libtdeldap-c2654f54080667d980d0d055ddaaa11e438eaec8.zip
Fix unusual glitch caused by inadvertent double application of a patch
-rw-r--r--src/libtdeldap.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/libtdeldap.cpp b/src/libtdeldap.cpp
index 33d3e95..83574fc 100644
--- a/src/libtdeldap.cpp
+++ b/src/libtdeldap.cpp
@@ -1762,20 +1762,6 @@ int LDAPManager::deleteGroupInfo(LDAPGroupInfo group, TQString *errstr) {
return -1;
}
else {
- // Remove the user from all member groups
- LDAPGroupInfoList groupInfoList = groups(&retcode);
- LDAPGroupInfoList::Iterator it;
- for (it = groupInfoList.begin(); it != groupInfoList.end(); ++it) {
- LDAPGroupInfo group = *it;
- if (group.userlist.contains(user.distinguishedName)) {
- group.userlist.remove(user.distinguishedName);
- retcode = updateGroupInfo(group, errstr);
- if (retcode != 0) {
- return retcode;
- }
- }
- }
-
// Delete the base DN entry
retcode = ldap_delete_ext_s(m_ldap, group.distinguishedName.ascii(), NULL, NULL);
if (retcode != LDAP_SUCCESS) {