Uninstall
- Navigate to AdminCP > Add-ons and click Uninstall next to [MC] Sunset.
- Confirm the uninstall when prompted.
The uninstall steps drop the five xf_mc_sun_* tables (user_state, snapshot, released_username, audit_log, reactivation_request), drop the mcsun_warning_optout column from xf_user_option, remove both cron entries, and delete the options, phrases, templates, template modifications, and admin navigation entries.
What is not removed
- The add-on directory at
src/addons/MC/Sunset/. Delete it from disk after uninstall if you want it gone. - Member tier state already applied to
xf_user(anonymised profile fields, released usernames). Those mutations went through the policy assignments during the lifetime of the add-on and are not reversed by uninstall. Runmc-sunset:reactivateon any members you want restored before uninstalling, while the snapshots are still in place. xf_user_option.mcsun_warning_optoutvalues. The column is dropped, so the per-member opt-out preference is lost.
Before you uninstall
Snapshots are the only copy of original profile values for members who were anonymised by a soft, hard, or released transition. Once the xf_mc_sun_snapshot table is dropped, those originals are gone. Either:
- Reactivate everyone you intend to restore first (
mc-sunset:reactivate <user_id>or the per-user Reactivate button on AdminCP > Users > Sunset > User state), or - Export the snapshot table from the database first if you want to keep the originals available outside the add-on.
The released-username table is also dropped on uninstall, which removes the re-registration lockout for any usernames the add-on previously released.