Changed comments
This commit is contained in:
parent
2eb4912dbf
commit
491db963db
2 changed files with 5 additions and 7 deletions
|
@ -43,7 +43,7 @@ Commands:
|
||||||
globalcommunitysilence Silence remote profile from global community page
|
globalcommunitysilence Silence remote profile from global community page
|
||||||
help Show help about a command, e.g (bin/console help config)
|
help Show help about a command, e.g (bin/console help config)
|
||||||
maintenance Set maintenance mode for this node
|
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
|
php2po Generate a messages.po file from a strings.php file
|
||||||
po2php Generate a strings.php file from a messages.po file
|
po2php Generate a strings.php file from a messages.po file
|
||||||
typo Checks for parse errors in Friendica files
|
typo Checks for parse errors in Friendica files
|
||||||
|
|
|
@ -10,15 +10,13 @@ use Friendica\Database\DBM;
|
||||||
use dba;
|
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
|
* With this tool, you can set a new password for a user
|
||||||
* or comments this account writes are accepted to the node.
|
|
||||||
*
|
*
|
||||||
* License: AGPLv3 or later, same as Friendica
|
* License: AGPLv3 or later, same as Friendica
|
||||||
*
|
*
|
||||||
* @author Tobias Diekershoff <mrpetovan@gmail.com>
|
* @author Michael Vogel <heluecht@pirati.ca>
|
||||||
* @author Hypolite Petovan <mrpetovan@gmail.com>
|
|
||||||
*/
|
*/
|
||||||
class NewPassword extends \Asika\SimpleConsole\Console
|
class NewPassword extends \Asika\SimpleConsole\Console
|
||||||
{
|
{
|
||||||
|
@ -84,7 +82,7 @@ HELP;
|
||||||
throw new \RuntimeException(L10n::t('Password update failed. Please try again.'));
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue