X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FWikiCategoryPage.php;h=01938cd98735c51b7f168192b21e35cb1811b9f5;hb=5b72053fb957556fc65d67191366eb917829734a;hp=1bbc691d6a4428db632a827b6bf43fddc666a282;hpb=896f05efded0deb66c0382adb4bcfe2379c5b655;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/WikiCategoryPage.php b/includes/WikiCategoryPage.php index 1bbc691d6a..01938cd987 100644 --- a/includes/WikiCategoryPage.php +++ b/includes/WikiCategoryPage.php @@ -3,18 +3,6 @@ * Special handling for category pages */ class WikiCategoryPage extends WikiPage { - /** - * Constructor from a page id - * @param $id Int article ID to load - * - * @return WikiCategoryPage - */ - public static function newFromID( $id ) { - $t = Title::newFromID( $id ); - # @todo FIXME: Doesn't inherit right - return $t == null ? null : new self( $t ); - # return $t == null ? null : new static( $t ); // PHP 5.3 - } /** * Don't return a 404 for categories in use.