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 "rdbms: use ILoadBalancer in more LBFactory comments"
[lhc/web/wiklou.git]
/
maintenance
/
updateDoubleWidthSearch.php
diff --git
a/maintenance/updateDoubleWidthSearch.php
b/maintenance/updateDoubleWidthSearch.php
index
f5bb881
..
810af57
100644
(file)
--- a/
maintenance/updateDoubleWidthSearch.php
+++ b/
maintenance/updateDoubleWidthSearch.php
@@
-53,11
+53,11
@@
class UpdateDoubleWidthSearch extends Maintenance {
$dbw = $this->getDB( DB_MASTER );
if ( $dbw->getType() !== 'mysql' ) {
$dbw = $this->getDB( DB_MASTER );
if ( $dbw->getType() !== 'mysql' ) {
- $this->
error( "This change is only needed on MySQL, quitting.\n", true
);
+ $this->
fatalError( "This change is only needed on MySQL, quitting.\n"
);
}
$res = $this->findRows( $dbw );
}
$res = $this->findRows( $dbw );
- $this->updateSearchIndex( $maxLockTime,
array( $this, 'searchIndexUpdateCallback' )
, $dbw, $res );
+ $this->updateSearchIndex( $maxLockTime,
[ $this, 'searchIndexUpdateCallback' ]
, $dbw, $res );
$this->output( "Done\n" );
}
$this->output( "Done\n" );
}
@@
-77,5
+77,5
@@
class UpdateDoubleWidthSearch extends Maintenance {
}
}
}
}
-$maintClass =
"UpdateDoubleWidthSearch"
;
+$maintClass =
UpdateDoubleWidthSearch::class
;
require_once RUN_MAINTENANCE_IF_MAIN;
require_once RUN_MAINTENANCE_IF_MAIN;