Found by PHPStan.
Change-Id: If985b06fcc9e37b8747da69d1aac63a5ee944aef
}
}
- $rcIndexes = [];
-
if ( $namespace !== false ) {
if ( $this->opts->getValue( 'invert' ) ) {
$conds[] = 'rc_namespace != ' . $this->mDb->addQuotes( $namespace );
Hooks::run( 'SpecialNewpagesConditions',
[ &$pager, $this->opts, &$conds, &$tables, &$fields, &$join_conds ] );
- $options = [];
-
- if ( $rcIndexes ) {
- $options = [ 'USE INDEX' => [ 'recentchanges' => $rcIndexes ] ];
- }
-
$info = [
'tables' => $tables,
'fields' => $fields,
'conds' => $conds,
- 'options' => $options,
+ 'options' => [],
'join_conds' => $join_conds
];