mirror of
https://github.com/friendica/friendica
synced 2024-12-22 19:20:17 +00:00
Issue 9736: Fix for undroppable registrations
This commit is contained in:
parent
b10cd8772c
commit
c0ac120578
1 changed files with 3 additions and 0 deletions
|
@ -1159,6 +1159,9 @@ class User
|
|||
return false;
|
||||
}
|
||||
|
||||
// Delete the avatar
|
||||
Photo::delete(['uid' => $register['uid']]);
|
||||
|
||||
return DBA::delete('user', ['uid' => $register['uid']]) &&
|
||||
Register::deleteByHash($register['hash']);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue