mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CategoryTree
synced 2024-11-15 03:43:55 +00:00
Method documentation. Remove freeResult call
This commit is contained in:
parent
e45dfe21c4
commit
e1e45855eb
|
@ -496,7 +496,7 @@ class CategoryTree {
|
|||
|
||||
/**
|
||||
* Returns a string with an HTML representation of the parents of the given category.
|
||||
* $title must be a Title object
|
||||
* @var $title Title
|
||||
*/
|
||||
function renderParents( $title ) {
|
||||
global $wgCategoryTreeMaxChildren;
|
||||
|
@ -545,8 +545,6 @@ class CategoryTree {
|
|||
$s .= "\n\t\t";
|
||||
}
|
||||
|
||||
$dbr->freeResult( $res );
|
||||
|
||||
return $s;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue