Commit b41fb0f2 authored by Johan Cwiklinski's avatar Johan Cwiklinski

Remove user picture along with user; fixes #3905

parent 27a48b6e
......@@ -402,6 +402,8 @@ class User extends CommonDBTM {
$ue = new UserEmail();
$ue->deleteByCriteria(['users_id' => $this->fields['id']]);
// Ticket rules use various _users_id_*
Rule::cleanForItemAction($this, '_users_id%');
Rule::cleanForItemCriteria($this, '_users_id%');
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment