dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "MessageFormatterFactory"
[lhc/web/wiklou.git]
/
maintenance
/
includes
/
DeleteLocalPasswords.php
diff --git
a/maintenance/includes/DeleteLocalPasswords.php
b/maintenance/includes/DeleteLocalPasswords.php
index
b964417
..
c9b3b66
100644
(file)
--- a/
maintenance/includes/DeleteLocalPasswords.php
+++ b/
maintenance/includes/DeleteLocalPasswords.php
@@
-23,6
+23,7
@@
use MediaWiki\MediaWikiServices;
use Wikimedia\Rdbms\IDatabase;
use MediaWiki\MediaWikiServices;
use Wikimedia\Rdbms\IDatabase;
+use Wikimedia\Rdbms\IMaintainableDatabase;
require_once __DIR__ . '/../Maintenance.php';
require_once __DIR__ . '/../Maintenance.php';
@@
-49,7
+50,7
@@
class DeleteLocalPasswords extends Maintenance {
public function __construct() {
parent::__construct();
public function __construct() {
parent::__construct();
- $this->
mDescription = "Deletes local password for users."
;
+ $this->
addDescription( "Deletes local password for users." )
;
$this->setBatchSize( 1000 );
$this->addOption( 'user', 'If specified, only checks the given user', false, true );
$this->setBatchSize( 1000 );
$this->addOption( 'user', 'If specified, only checks the given user', false, true );