From 39a9afb7c2151d84cef4da96f0d9f72f442662c6 Mon Sep 17 00:00:00 2001 From: default Date: Wed, 23 Nov 2022 16:52:18 +0100 Subject: [PATCH] Deleted purge of old actors directory. --- data.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/data.c b/data.c index 2fa7e4f..589fbfa 100644 --- a/data.c +++ b/data.c @@ -934,14 +934,6 @@ int is_muted(snac *snac, char *actor) } -d_char *_actor_fn(snac *snac, char *actor) -/* returns the file name for an actor */ -{ - xs *md5 = xs_md5_hex(actor, strlen(actor)); - return xs_fmt("%s/actors/%s.json", snac->basedir, md5); -} - - int actor_add(snac *snac, const char *actor, d_char *msg) /* adds an actor */ { @@ -1269,7 +1261,6 @@ void purge(snac *snac) days = xs_number_get(xs_dict_get(srv_config, "timeline_purge_days")); _purge_subdir(snac, "timeline", days); - _purge_subdir(snac, "actors", days); days = xs_number_get(xs_dict_get(srv_config, "local_purge_days")); _purge_subdir(snac, "local", days);