equal
deleted
inserted
replaced
540 eid = self.repo.extid2eid(self, base, 'CWUser', session, insert=False) |
540 eid = self.repo.extid2eid(self, base, 'CWUser', session, insert=False) |
541 if eid: |
541 if eid: |
542 self.warning('deleting ldap user with eid %s and dn %s', |
542 self.warning('deleting ldap user with eid %s and dn %s', |
543 eid, base) |
543 eid, base) |
544 entity = session.entity_from_eid(eid, 'CWUser') |
544 entity = session.entity_from_eid(eid, 'CWUser') |
545 self.repo.delete_info(session, entity, self.uri, base) |
545 self.repo.delete_info(session, entity, self.uri) |
546 self.reset_caches() |
546 self.reset_caches() |
547 return [] |
547 return [] |
548 # except ldap.REFERRAL, e: |
548 # except ldap.REFERRAL, e: |
549 # cnx = self.handle_referral(e) |
549 # cnx = self.handle_referral(e) |
550 # try: |
550 # try: |