Update class.user.php to fix User removing bug

User removing bug On CHV\Notification
pull/38/head
Luca 2018-11-24 13:38:08 +00:00 committed by GitHub
parent c73df94fbb
commit 230da1521d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 7 deletions

View File

@ -398,12 +398,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',