From 491db963dbeb65e3b9ecee79a48580312c35b110 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 30 Mar 2018 19:57:14 +0000 Subject: [PATCH] Changed comments --- src/Core/Console.php | 2 +- src/Core/Console/NewPassword.php | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/Core/Console.php b/src/Core/Console.php index 02a0b66ae2..a1143ae1d9 100644 --- a/src/Core/Console.php +++ b/src/Core/Console.php @@ -43,7 +43,7 @@ Commands: globalcommunitysilence Silence remote profile from global community page help Show help about a command, e.g (bin/console help config) maintenance Set maintenance mode for this node - newpassword Set an new password for a given user + newpassword Set a new password for a given user php2po Generate a messages.po file from a strings.php file po2php Generate a strings.php file from a messages.po file typo Checks for parse errors in Friendica files diff --git a/src/Core/Console/NewPassword.php b/src/Core/Console/NewPassword.php index 9d40e454bb..d44286d28f 100644 --- a/src/Core/Console/NewPassword.php +++ b/src/Core/Console/NewPassword.php @@ -10,15 +10,13 @@ use Friendica\Database\DBM; use dba; /** - * @brief tool to block an account from the node + * @brief tool to set a new password for a user * - * With this tool, you can block an account in such a way, that no postings - * or comments this account writes are accepted to the node. + * With this tool, you can set a new password for a user * * License: AGPLv3 or later, same as Friendica * - * @author Tobias Diekershoff - * @author Hypolite Petovan + * @author Michael Vogel */ class NewPassword extends \Asika\SimpleConsole\Console { @@ -84,7 +82,7 @@ HELP; throw new \RuntimeException(L10n::t('Password update failed. Please try again.')); } - $this->out(L10n::t('Password changed.', $nick)); + $this->out(L10n::t('Password changed.')); return 0; } -- 2.39.5