X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fremoveme.php;h=bdc49ab745ebb7cddc14beb0881a8edad0cb636a;hb=3972fe62fe8afb3791e9d6526e7665501a577b81;hp=ee0a4c275b6f1f56745649596152593d051003d6;hpb=2ec3a97393959e42d450e074271d2d622d25701f;p=friendica.git diff --git a/mod/removeme.php b/mod/removeme.php index ee0a4c275b..bdc49ab745 100644 --- a/mod/removeme.php +++ b/mod/removeme.php @@ -1,6 +1,6 @@ send($email); } - if (User::getIdFromPasswordAuthentication($a->user, trim($_POST['qxz_password']))) { - User::remove($a->user['uid']); + if (User::getIdFromPasswordAuthentication($a->getLoggedInUserId(), trim($_POST['qxz_password']))) { + User::remove($a->getLoggedInUserId()); unset($_SESSION['authenticated']); unset($_SESSION['uid']);