Deleted old paths to purge.

This commit is contained in:
default 2023-01-31 18:28:52 +01:00
parent bad3768250
commit 2d7074aeb0

2
data.c
View file

@ -1529,12 +1529,10 @@ void purge_user(snac *snac)
int days;
days = xs_number_get(xs_dict_get(srv_config, "timeline_purge_days"));
_purge_subdir(snac, "timeline", days);
_purge_subdir(snac, "hidden", days);
_purge_subdir(snac, "private", days);
days = xs_number_get(xs_dict_get(srv_config, "local_purge_days"));
_purge_subdir(snac, "local", days);
_purge_subdir(snac, "public", days);
}