dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Title: Don't create mSubpages member variable
[lhc/web/wiklou.git]
/
includes
/
Title.php
diff --git
a/includes/Title.php
b/includes/Title.php
index
083a725
..
0728065
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-3172,7
+3172,7
@@
class Title implements LinkTarget {
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,
@@
-3180,7
+3180,6
@@
class Title implements LinkTarget {
$options
)
);
$options
)
);
- return $this->mSubpages;
}
/**
}
/**