Index: branches/wmf/1.17wmf1/extensions/CategoryTree/CategoryPageSubclass.php |
— | — | @@ -1,15 +1,7 @@ |
2 | 2 | <?php |
3 | 3 | |
4 | 4 | class CategoryTreeCategoryPage extends CategoryPage { |
5 | | - function closeShowCategory() { |
6 | | - global $wgOut, $wgRequest; |
7 | | - |
8 | | - $from = $wgRequest->getVal( 'from' ); |
9 | | - $until = $wgRequest->getVal( 'until' ); |
10 | | - |
11 | | - $viewer = new CategoryTreeCategoryViewer( $this->mTitle, $from, $until ); |
12 | | - $wgOut->addHTML( $viewer->getHTML() ); |
13 | | - } |
| 5 | + protected $mCategoryViewerClass = 'CategoryTreeCategoryViewer'; |
14 | 6 | } |
15 | 7 | |
16 | 8 | class CategoryTreeCategoryViewer extends CategoryViewer { |