This commit is contained in:
Rodolfo Berrios 2020-09-01 10:59:32 -04:00
parent d6b84b9f73
commit 2d77264cbb

View file

@ -391,13 +391,6 @@ class User
Image::delete($user_image['image_id']);
}
// Remove related notifications tied to this user (follows)
Notification::delete([
'table' => 'users',
'user_id' => $user['id'],
]);
// Track stats
Stat::track([
'action' => 'delete',
'table' => 'users',