mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/LoginNotify
synced 2024-11-24 06:54:08 +00:00
Make use of BatchRowIterator::setCaller
Bug: T261014 Change-Id: I803145598f8690e6f054defdc8361cc07a08d2e8
This commit is contained in:
parent
ba0cafc4bb
commit
68b1b460d6
|
@ -9,7 +9,7 @@
|
|||
"license-name": "MIT",
|
||||
"type": "other",
|
||||
"requires": {
|
||||
"MediaWiki": ">= 1.35.0",
|
||||
"MediaWiki": ">= 1.36.0",
|
||||
"extensions": {
|
||||
"Echo": "*"
|
||||
}
|
||||
|
|
|
@ -63,6 +63,7 @@ class MigratePreferences extends LoggedUpdateMaintenance {
|
|||
],
|
||||
] );
|
||||
$iterator->setFetchColumns( [ '*' ] );
|
||||
$iterator->setCaller( __METHOD__ );
|
||||
|
||||
$lastRow = (object)[ 'user_id' => 0 ];
|
||||
$optionsToUpdate = [];
|
||||
|
|
Loading…
Reference in a new issue