Index: trunk/extensions/CategoryTree/CategoryTreeFunctions.php |
— | — | @@ -496,7 +496,7 @@ |
497 | 497 | |
498 | 498 | /** |
499 | 499 | * Returns a string with an HTML representation of the parents of the given category. |
500 | | - * $title must be a Title object |
| 500 | + * @var $title Title |
501 | 501 | */ |
502 | 502 | function renderParents( $title ) { |
503 | 503 | global $wgCategoryTreeMaxChildren; |
— | — | @@ -545,8 +545,6 @@ |
546 | 546 | $s .= "\n\t\t"; |
547 | 547 | } |
548 | 548 | |
549 | | - $dbr->freeResult( $res ); |
550 | | - |
551 | 549 | return $s; |
552 | 550 | } |
553 | 551 | |