sforkowany z mirror/friendica
Merge pull request #9737 from annando/issue-9736
Issue 9736: Fix for undroppable registrations2022.09-rc
commit
695dd407c8
|
@ -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']);
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue