Merge "Fix ParserOutput::getText 'unwrap' flag for end-of-doc comment"
[lhc/web/wiklou.git] / includes / specials / pagers / NewPagesPager.php
index a87bbb7..61b648d 100644 (file)
@@ -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'];