Update deprecated calls in Model\user and mod/removeme

This commit is contained in:
Hypolite Petovan 2018-11-24 20:56:38 -05:00
commit 0bae80a2d3
2 changed files with 3 additions and 2 deletions

View file

@ -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
}