Update deprecated calls in Model\user and mod/removeme
This commit is contained in:
parent
9d2f474c07
commit
0bae80a2d3
2 changed files with 3 additions and 2 deletions
|
@ -57,7 +57,7 @@ function removeme_post(App $a)
|
|||
]);
|
||||
}
|
||||
|
||||
if (User::authenticate($a->user, trim($_POST['qxz_password']))) {
|
||||
if (User::getIdFromPasswordAuthentication($a->user, trim($_POST['qxz_password']))) {
|
||||
User::remove($a->user['uid']);
|
||||
// NOTREACHED
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue