X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2FTitle.php;h=0728065c3051f0cbfaa83ba0bef0475c225c3582;hp=083a725d98376af9418a31192d896fbce2670d38;hb=61d9828a88940e223461eb4d628b32295201ffbb;hpb=1c6805c759da9bdc20029a888ee1f2d2e23fcbc3 diff --git a/includes/Title.php b/includes/Title.php index 083a725d98..0728065c30 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -3172,7 +3172,7 @@ class Title implements LinkTarget { if ( $limit > -1 ) { $options['LIMIT'] = $limit; } - $this->mSubpages = TitleArray::newFromResult( + return TitleArray::newFromResult( $dbr->select( 'page', [ 'page_id', 'page_namespace', 'page_title', 'page_is_redirect' ], $conds, @@ -3180,7 +3180,6 @@ class Title implements LinkTarget { $options ) ); - return $this->mSubpages; } /**