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
Avoid session double-start in Setup.php
[lhc/web/wiklou.git]
/
maintenance
/
purgeList.php
diff --git
a/maintenance/purgeList.php
b/maintenance/purgeList.php
index
5ca7918
..
16a62f4
100644
(file)
--- a/
maintenance/purgeList.php
+++ b/
maintenance/purgeList.php
@@
-99,7
+99,7
@@
class PurgeList extends Maintenance {
$conds + [ 'page_id > ' . $dbr->addQuotes( $startId ) ],
__METHOD__,
[
$conds + [ 'page_id > ' . $dbr->addQuotes( $startId ) ],
__METHOD__,
[
- 'LIMIT' => $this->
mBatchSize
,
+ 'LIMIT' => $this->
getBatchSize()
,
'ORDER BY' => 'page_id'
]
'ORDER BY' => 'page_id'
]
@@
-143,5
+143,5
@@
class PurgeList extends Maintenance {
}
}
}
}
-$maintClass =
"PurgeList"
;
+$maintClass =
PurgeList::class
;
require_once RUN_MAINTENANCE_IF_MAIN;
require_once RUN_MAINTENANCE_IF_MAIN;