From: Alexandre Emsenhuber Date: Tue, 15 Nov 2011 18:28:26 +0000 (+0000) Subject: Removed useless constructor, just use parent's one which is identical X-Git-Tag: 1.31.0-rc.0~26485 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/ajouter.php?a=commitdiff_plain;h=911c0c72cca06907e898318f06e8ba68492a4908;p=lhc%2Fweb%2Fwiklou.git Removed useless constructor, just use parent's one which is identical --- diff --git a/includes/WikiCategoryPage.php b/includes/WikiCategoryPage.php index 96dcef20b5..01938cd987 100644 --- a/includes/WikiCategoryPage.php +++ b/includes/WikiCategoryPage.php @@ -3,11 +3,7 @@ * Special handling for category pages */ class WikiCategoryPage extends WikiPage { - - public function __construct( Title $title ) { - $this->mTitle = $title; - } - + /** * Don't return a 404 for categories in use. * In use defined as: either the actual page exists