summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
1c6805c)
This variable is set and then immediately returned. It's never read
from, so it doesn't make sense as a member variable.
Change-Id: I507895c32b754b8606fb162db321294d31ab6d4e
if ( $limit > -1 ) {
$options['LIMIT'] = $limit;
}
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,
$dbr->select( 'page',
[ 'page_id', 'page_namespace', 'page_title', 'page_is_redirect' ],
$conds,
- return $this->mSubpages;