mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CategoryTree
synced 2024-11-27 09:43:06 +00:00
Remove unused CategoryTreeCategoryViewer::$child_cats
Usage removed in 2009 with r47049 (23187e510a
).
Change-Id: Id40904a286de73b0f057243d3f70178b77186d81
This commit is contained in:
parent
18425dc613
commit
cca06d7656
|
@ -24,9 +24,6 @@ use Category;
|
|||
use CategoryViewer;
|
||||
|
||||
class CategoryTreeCategoryViewer extends CategoryViewer {
|
||||
/** @var array */
|
||||
public $child_cats;
|
||||
|
||||
/** @var CategoryTree */
|
||||
public $categorytree;
|
||||
|
||||
|
@ -70,22 +67,4 @@ class CategoryTreeCategoryViewer extends CategoryViewer {
|
|||
|
||||
$this->children_start_char[] = $this->getSubcategorySortChar( $title, $sortkey );
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function clearCategoryState() {
|
||||
$this->child_cats = [];
|
||||
parent::clearCategoryState();
|
||||
}
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function finaliseCategoryState() {
|
||||
if ( $this->flip ) {
|
||||
$this->child_cats = array_reverse( $this->child_cats );
|
||||
}
|
||||
parent::finaliseCategoryState();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue