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 "Fix small typo in documentation of IDatabase"
[lhc/web/wiklou.git]
/
maintenance
/
updateSearchIndex.php
diff --git
a/maintenance/updateSearchIndex.php
b/maintenance/updateSearchIndex.php
index
756de27
..
cdb7d9f
100644
(file)
--- a/
maintenance/updateSearchIndex.php
+++ b/
maintenance/updateSearchIndex.php
@@
-61,7
+61,7
@@
class UpdateSearchIndex extends Maintenance {
}
public function execute() {
}
public function execute() {
- $posFile = $this->getOption( 'p', 'searchUpdate.' . wfWikiI
d
() . '.pos' );
+ $posFile = $this->getOption( 'p', 'searchUpdate.' . wfWikiI
D
() . '.pos' );
$end = $this->getOption( 'e', wfTimestampNow() );
if ( $this->hasOption( 's' ) ) {
$start = $this->getOption( 's' );
$end = $this->getOption( 'e', wfTimestampNow() );
if ( $this->hasOption( 's' ) ) {
$start = $this->getOption( 's' );
@@
-111,7
+111,7
@@
class UpdateSearchIndex extends Maintenance {
WHERE rc_type != " . RC_LOG . " AND rc_timestamp BETWEEN '$start' AND '$end'";
$res = $dbw->query( $sql, __METHOD__ );
WHERE rc_type != " . RC_LOG . " AND rc_timestamp BETWEEN '$start' AND '$end'";
$res = $dbw->query( $sql, __METHOD__ );
- $this->updateSearchIndex( $maxLockTime,
array( $this, 'searchIndexUpdateCallback' )
, $dbw, $res );
+ $this->updateSearchIndex( $maxLockTime,
[ $this, 'searchIndexUpdateCallback' ]
, $dbw, $res );
$this->output( "Done\n" );
}
$this->output( "Done\n" );
}