AccountAnonymizationManager.php
Table of Contents
Classes
- AccountAnonymizationManager
- Bazaar share of anonymizing a deleted account:
- the user's adverts are deactivated (not deleted — the owner of a deleted account cannot
restore them, but the administration still sees them), reindexed and the category counts
recounted,
- the contact data of all the user's own adverts (any state) are deleted: `email` → '' and the
values of the contact parameters (e-mail, phone, street — see
{@see \App\Core\Base\Shared\Shared\Models\Entities\ContactParameter}); the fulltext
document carries no contact, so no reindex for it,
- watchdogs (they would keep e-mailing the original address) and followed adverts are deleted.