X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=maintenance%2FresetUserTokens.php;h=131a569d6c481a2d9612907b855234f2ad3165d0;hb=a7c3aaccba03062e8b27ff378e74619e339325ba;hp=837f304ddcda8592a8a476421675cbfd550b42b4;hpb=b5906606e1aa1a795231fb813b766818b1dd6c25;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/resetUserTokens.php b/maintenance/resetUserTokens.php index 837f304ddc..131a569d6c 100644 --- a/maintenance/resetUserTokens.php +++ b/maintenance/resetUserTokens.php @@ -30,12 +30,14 @@ require_once __DIR__ . '/Maintenance.php'; * Maintenance script to reset the user_token for all users on the wiki. * * @ingroup Maintenance + * @deprecated since 1.27, use $wgAuthenticationTokenVersion instead. */ class ResetUserTokens extends Maintenance { public function __construct() { parent::__construct(); $this->addDescription( - 'Reset the user_token of all users on the wiki. Note that this may log some of them out.' + "Reset the user_token of all users on the wiki. Note that this may log some of them out.\n" + . "Deprecated, use \$wgAuthenticationTokenVersion instead." ); $this->addOption( 'nowarn', "Hides the 5 seconds warning", false, false ); $this->addOption(