mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-25 00:43:38 +00:00
Also purge the public/ and private/ caches.
This commit is contained in:
parent
6c6b5a30c4
commit
e93a79e06d
1 changed files with 2 additions and 0 deletions
2
data.c
2
data.c
|
@ -1571,9 +1571,11 @@ void purge_user(snac *snac)
|
|||
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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue