mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-25 08:53:36 +00:00
Deleted purge of old actors directory.
This commit is contained in:
parent
5c05e60bce
commit
39a9afb7c2
1 changed files with 0 additions and 9 deletions
9
data.c
9
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);
|
||||
|
|
Loading…
Reference in a new issue