X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FchangePassword.php;h=8687f81410c5673f065eb3b5d99419ea7eb4360d;hb=df2ef5194e88514081511302da45ebf19afcb248;hp=bf068628e8494202014765566f8b2e65017c8da9;hpb=ea4340e126eb2657cc878af74d53b9991844fb6b;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/changePassword.php b/maintenance/changePassword.php index bf068628e8..8687f81410 100644 --- a/maintenance/changePassword.php +++ b/maintenance/changePassword.php @@ -24,7 +24,7 @@ * @ingroup Maintenance */ -require_once( __DIR__ . '/Maintenance.php' ); +require_once __DIR__ . '/Maintenance.php'; /** * Maintenance script to change the password of a given user. @@ -37,7 +37,7 @@ class ChangePassword extends Maintenance { $this->addOption( "user", "The username to operate on", false, true ); $this->addOption( "userid", "The user id to operate on", false, true ); $this->addOption( "password", "The password to use", true, true ); - $this->mDescription = "Change a user's password"; + $this->addDescription( "Change a user's password" ); } public function execute() {