Merge pull request #38 from Codfish246/patch-1
Update class.user.php to fix User removing bugpull/40/head
commit
e49e4292be
|
@ -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',
|
||||
|
@ -615,4 +609,4 @@ class User {
|
|||
|
||||
}
|
||||
|
||||
class UserException extends Exception {}
|
||||
class UserException extends Exception {}
|
||||
|
|
Loading…
Reference in New Issue