X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=blobdiff_plain;f=includes%2FCategory.php;h=ece32ea1059b67fdd0d8cbd1aaee0ce02b658f0d;hb=b18cf7b4b2c1c8d7644a755244ab9163d8a796a4;hp=1ebd605c355420fb0078d1c10606e2651abd25e6;hpb=a5be382adfdad4678eec18413c6a118cb3284daf;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Category.php b/includes/Category.php index 1ebd605c35..ece32ea105 100644 --- a/includes/Category.php +++ b/includes/Category.php @@ -96,7 +96,7 @@ class Category { $this->mSubcats = $row->cat_subcats; $this->mFiles = $row->cat_files; - # (bug 13683) If the count is negative, then 1) it's obviously wrong + # (T15683) If the count is negative, then 1) it's obviously wrong # and should not be kept, and 2) we *probably* don't have to scan many # rows to obtain the correct figure, so let's risk a one-time recount. if ( $this->mPages < 0 || $this->mSubcats < 0 || $this->mFiles < 0 ) { @@ -168,7 +168,7 @@ class Category { * @param Title $title Optional title object for the category represented by * the given row. May be provided if it is already known, to avoid having * to re-create a title object later. - * @return Category + * @return Category|false */ public static function newFromRow( $row, $title = null ) { $cat = new self();