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 "Avoid using outdated $casToken field for BagOStuff calls"
[lhc/web/wiklou.git]
/
maintenance
/
convertUserOptions.php
diff --git
a/maintenance/convertUserOptions.php
b/maintenance/convertUserOptions.php
index
675d069
..
c1a096f
100644
(file)
--- a/
maintenance/convertUserOptions.php
+++ b/
maintenance/convertUserOptions.php
@@
-61,7
+61,7
@@
class ConvertUserOptions extends Maintenance {
__METHOD__,
[
'ORDER BY' => 'user_id',
__METHOD__,
[
'ORDER BY' => 'user_id',
- 'LIMIT' => $this->
mBatchSize
,
+ 'LIMIT' => $this->
getBatchSize()
,
]
);
$id = $this->convertOptionBatch( $res, $dbw );
]
);
$id = $this->convertOptionBatch( $res, $dbw );
@@
-120,5
+120,5
@@
class ConvertUserOptions extends Maintenance {
}
}
}
}
-$maintClass =
"ConvertUserOptions"
;
+$maintClass =
ConvertUserOptions::class
;
require_once RUN_MAINTENANCE_IF_MAIN;
require_once RUN_MAINTENANCE_IF_MAIN;