X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2Fspecials%2Fpagers%2FNewPagesPager.php;h=61b648d4f693ccbd41c03ff0f50c7e2aeded9493;hb=8fd5a99f4e261d37cd7237a1992b1bcf03a764d3;hp=a87bbb7567415a85412d232e1e3770ac2d3d8155;hpb=d84c3dde5af90c5c3497d18e427a5c2a38ac6ca8;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/pagers/NewPagesPager.php b/includes/specials/pagers/NewPagesPager.php index a87bbb7567..61b648d4f6 100644 --- a/includes/specials/pagers/NewPagesPager.php +++ b/includes/specials/pagers/NewPagesPager.php @@ -90,7 +90,7 @@ class NewPagesPager extends ReverseChronologicalPager { $conds['page_is_redirect'] = 0; } - $commentQuery = CommentStore::newKey( 'rc_comment' )->getJoin(); + $commentQuery = CommentStore::getStore()->getJoin( 'rc_comment' ); // Allow changes to the New Pages query $tables = [ 'recentchanges', 'page' ] + $commentQuery['tables'];