X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fchanges%2FChangesListBooleanFilter.php;h=c781d717ccfcfac6dffd5ad92097731d452011b0;hb=74d04edec385aa86ee01943b9a27475d79f74e78;hp=f37ed2dd6dfbe21d4884d29353cbf81175e36730;hpb=d967d1d9128f7f92391d4985edd5c9903c98c6aa;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/changes/ChangesListBooleanFilter.php b/includes/changes/ChangesListBooleanFilter.php index f37ed2dd6d..c781d717cc 100644 --- a/includes/changes/ChangesListBooleanFilter.php +++ b/includes/changes/ChangesListBooleanFilter.php @@ -29,13 +29,6 @@ use Wikimedia\Rdbms\IDatabase; * @since 1.29 */ class ChangesListBooleanFilter extends ChangesListFilter { - // This can sometimes be different on Special:RecentChanges - // and Special:Watchlist, due to the double-legacy hooks - // (SpecialRecentChangesFilters and SpecialWatchlistFilters) - - // but there will be separate sets of ChangesListFilterGroup and ChangesListFilter instances - // for those pages (it should work even if they're both loaded - // at once, but that can't happen). /** * Main unstructured UI i18n key * @@ -206,18 +199,15 @@ class ChangesListBooleanFilter extends ChangesListFilter { return; } - call_user_func_array( - $this->queryCallable, - [ - get_class( $specialPage ), - $specialPage->getContext(), - $dbr, - &$tables, - &$fields, - &$conds, - &$query_options, - &$join_conds - ] + ( $this->queryCallable )( + get_class( $specialPage ), + $specialPage->getContext(), + $dbr, + $tables, + $fields, + $conds, + $query_options, + $join_conds ); }