From 00151562145df50cc65e9902d52d5fa77f89fe50 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 9 Jun 2022 06:52:47 +0200 Subject: Merging upstream version 1.35.0. Signed-off-by: Daniel Baumann --- registry/registry_person.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'registry/registry_person.c') diff --git a/registry/registry_person.c b/registry/registry_person.c index acf9d4da2..2f55e99d3 100644 --- a/registry/registry_person.c +++ b/registry/registry_person.c @@ -199,19 +199,6 @@ REGISTRY_PERSON *registry_person_get(const char *person_guid, time_t when) { return p; } -void registry_person_del(REGISTRY_PERSON *p) { - debug(D_REGISTRY, "Registry: registry_person_del('%s'): creating dictionary of urls", p->guid); - - while(p->person_urls.root) - registry_person_unlink_from_url(p, (REGISTRY_PERSON_URL *)p->person_urls.root); - - debug(D_REGISTRY, "Registry: deleting person '%s' from persons registry", p->guid); - dictionary_del(registry.persons, p->guid); - - debug(D_REGISTRY, "Registry: freeing person '%s'", p->guid); - freez(p); -} - // ---------------------------------------------------------------------------- // LINKING OF OBJECTS -- cgit v1.2.3