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
Maintenance: add fatalError() method
[lhc/web/wiklou.git]
/
maintenance
/
migrateComments.php
diff --git
a/maintenance/migrateComments.php
b/maintenance/migrateComments.php
index
9d4e261
..
01ee9f8
100644
(file)
--- a/
maintenance/migrateComments.php
+++ b/
maintenance/migrateComments.php
@@
-161,7
+161,7
@@
class MigrateComments extends LoggedUpdateMaintenance {
__METHOD__,
[
'ORDER BY' => $primaryKey,
__METHOD__,
[
'ORDER BY' => $primaryKey,
- 'LIMIT' => $this->
mBatchSize
,
+ 'LIMIT' => $this->
getBatchSize()
,
]
);
if ( !$res->numRows() ) {
]
);
if ( !$res->numRows() ) {
@@
-245,7
+245,7
@@
class MigrateComments extends LoggedUpdateMaintenance {
__METHOD__,
[
'ORDER BY' => $primaryKey,
__METHOD__,
[
'ORDER BY' => $primaryKey,
- 'LIMIT' => $this->
mBatchSize
,
+ 'LIMIT' => $this->
getBatchSize()
,
],
[ $newTable => [ 'LEFT JOIN', "{$primaryKey}={$newPrimaryKey}" ] ]
);
],
[ $newTable => [ 'LEFT JOIN', "{$primaryKey}={$newPrimaryKey}" ] ]
);