diff options
author | default <nobody@localhost> | 2022-11-23 16:52:18 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2022-11-23 16:52:18 +0100 |
commit | 39a9afb7c2151d84cef4da96f0d9f72f442662c6 (patch) | |
tree | 8f874f485655c93f7c902964226183981facdf04 | |
parent | 5c05e60bcecedc2ffbffb33132823b7347659608 (diff) |
Deleted purge of old actors directory.
-rw-r--r-- | data.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -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); |