mirror of
https://github.com/friendica/friendica
synced 2025-04-27 05:50:10 +00:00
Remove unused code in mod/
- Remove commented code - Remove unused/immediately overwritten variables - Remove extraneous parameters - Remove unreachable code
This commit is contained in:
parent
4a95ca280d
commit
dbc6eb5422
34 changed files with 32 additions and 173 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue