antoniop
committed
3 months and 3 days ago
Small improvement for portrait management (deletion)

Exploit existing on delete cascade constraints when we delete a portrait, instead of d… Show more
Small improvement for portrait management (deletion)

Exploit existing on delete cascade constraints when we delete a portrait, instead of deleting stuff manually.

Also, put remaining logics into a proc and use it in acs_user::delete to address legit use case of people wanting

to remove a user permanently without removing portrait in advance.

Show less