X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=inline;f=includes%2Fpage%2FCategoryPage.php;h=865471c33dc6b62812366b545633f1b1fcd908ab;hb=bae9c5aca69c62ff8ae32956a082c0787cb06b73;hp=d493002684ec9d6d5bf69b291a44d14f9d4ad423;hpb=a303296f2730d6279a249bde77f3e0b9b42e494f;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/page/CategoryPage.php b/includes/page/CategoryPage.php index d493002684..865471c33d 100644 --- a/includes/page/CategoryPage.php +++ b/includes/page/CategoryPage.php @@ -43,18 +43,6 @@ class CategoryPage extends Article { return new WikiCategoryPage( $title ); } - /** - * Constructor from a page id - * @param int $id Article ID to load - * @return CategoryPage|null - */ - 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 - } - function view() { $request = $this->getContext()->getRequest(); $diff = $request->getVal( 'diff' );