diff options
| author | grunfink <grunfink@comam.es> | 2026-05-21 19:52:50 +0200 |
|---|---|---|
| committer | grunfink <grunfink@comam.es> | 2026-05-21 19:52:50 +0200 |
| commit | 5c5736001d6fca95271801008aad6eedeb7deda5 (patch) | |
| tree | 0a2527cd2c25fac01cef0575dedb414c3f808058 /data.c | |
| parent | 4cacf540b82d5998acc9a2bac2d29e6cc7a2a442 (diff) | |
Also purge the new admire/ subdirectory.
Diffstat (limited to 'data.c')
| -rw-r--r-- | data.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -4418,9 +4418,10 @@ void purge_user(snac *snac) _purge_user_subdir(snac, "pending", priv_days); _purge_user_subdir(snac, "public", pub_days); + _purge_user_subdir(snac, "admire", pub_days); - const char *idxs[] = { "followers.idx", "private.idx", "public.idx", - "pinned.idx", "bookmark.idx", "draft.idx", "sched.idx", NULL }; + const char *idxs[] = { "followers.idx", "private.idx", "public.idx", "pinned.idx", + "bookmark.idx", "draft.idx", "sched.idx", "admire.idx", NULL }; for (n = 0; idxs[n]; n++) { xs *idx = xs_fmt("%s/%s", snac->basedir, idxs[n]); |