Remove unused CategoryTreeCategoryViewer::$child_cats

Usage removed in 2009 with r47049 (23187e510a).

Change-Id: Id40904a286de73b0f057243d3f70178b77186d81
This commit is contained in:
Umherirrender 2023-02-23 21:47:29 +01:00 committed by Krinkle
parent 18425dc613
commit cca06d7656

View file

@ -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();
}
}