Also purge the public/ and private/ caches.

This commit is contained in:
default 2022-11-25 17:42:01 +01:00
parent 6c6b5a30c4
commit e93a79e06d

2
data.c
View file

@ -1571,9 +1571,11 @@ void purge_user(snac *snac)
days = xs_number_get(xs_dict_get(srv_config, "timeline_purge_days")); days = xs_number_get(xs_dict_get(srv_config, "timeline_purge_days"));
_purge_subdir(snac, "timeline", days); _purge_subdir(snac, "timeline", days);
_purge_subdir(snac, "hidden", days); _purge_subdir(snac, "hidden", days);
_purge_subdir(snac, "private", days);
days = xs_number_get(xs_dict_get(srv_config, "local_purge_days")); days = xs_number_get(xs_dict_get(srv_config, "local_purge_days"));
_purge_subdir(snac, "local", days); _purge_subdir(snac, "local", days);
_purge_subdir(snac, "public", days);
} }