Update class.user.php to fix User removing bug
User removing bug On CHV\Notificationpull/38/head
parent
c73df94fbb
commit
230da1521d
|
@ -398,12 +398,6 @@ class User {
|
||||||
Image::delete($user_image['image_id']);
|
Image::delete($user_image['image_id']);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remove related notifications tied to this user (follows)
|
|
||||||
Notification::delete([
|
|
||||||
'table' => 'users',
|
|
||||||
'user_id' => $user['id'],
|
|
||||||
]);
|
|
||||||
|
|
||||||
// Track stats
|
// Track stats
|
||||||
Stat::track([
|
Stat::track([
|
||||||
'action' => 'delete',
|
'action' => 'delete',
|
||||||
|
|
Loading…
Reference in New Issue