]> git.mxchange.org Git - friendica.git/blobdiff - mod/lostpass.php
Issue 7285: Perform duplicate check for item URI also with AP
[friendica.git] / mod / lostpass.php
index d36d32963d6bc368907e24a504f51a820d2ab400..01e84268b4300b7f0a0fe48cf64eae0300817366 100644 (file)
@@ -81,7 +81,6 @@ function lostpass_post(App $a)
 
 function lostpass_content(App $a)
 {
-       $o = '';
        if ($a->argc > 1) {
                $pwdreset_token = $a->argv[1];
 
@@ -127,7 +126,6 @@ function lostpass_form()
 function lostpass_generate_password($user)
 {
        $o = '';
-       $a = get_app();
 
        $new_password = User::generateNewPassword();
        $result = User::updatePassword($user['uid'], $new_password);
@@ -141,7 +139,6 @@ function lostpass_generate_password($user)
                        '$lbl5'    => '<a href="' . System::baseUrl() . '">' . L10n::t('click here to login') . '</a>.',
                        '$lbl6'    => L10n::t('Your password may be changed from the <em>Settings</em> page after successful login.'),
                        '$newpass' => $new_password,
-                       '$baseurl' => System::baseUrl()
                ]);
 
                info("Your password has been reset." . EOL);