r81957 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r81956‎ | r81957 | r81958 >
Date:11:28, 11 February 2011
Author:reedy
Status:ok
Tags:
Comment:
Method documentation. Remove freeResult call
Modified paths:
  • /trunk/extensions/CategoryTree/CategoryTreeFunctions.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CategoryTree/CategoryTreeFunctions.php
@@ -496,7 +496,7 @@
497497
498498 /**
499499 * 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
501501 */
502502 function renderParents( $title ) {
503503 global $wgCategoryTreeMaxChildren;
@@ -545,8 +545,6 @@
546546 $s .= "\n\t\t";
547547 }
548548
549 - $dbr->freeResult( $res );
550 -
551549 return $s;
552550 }
553551

Status & tagging log