r103206 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r103205‎ | r103206 | r103207 >
Date:18:28, 15 November 2011
Author:ialex
Status:ok
Tags:
Comment:
Removed useless constructor, just use parent's one which is identical
Modified paths:
  • /trunk/phase3/includes/WikiCategoryPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/WikiCategoryPage.php
@@ -3,11 +3,7 @@
44 * Special handling for category pages
55 */
66 class WikiCategoryPage extends WikiPage {
7 -
8 - public function __construct( Title $title ) {
9 - $this->mTitle = $title;
10 - }
11 -
 7+
128 /**
139 * Don't return a 404 for categories in use.
1410 * In use defined as: either the actual page exists

Status & tagging log