1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 09:18:48 +02:00

Remove unused appIcon from PHUIListItemView

Summary: This is unused and there's no way to even set it. Pretty sure it died a while ago when we switched app icons to FontAwesome.

Test Plan: Grepped for `appIcon`, found no related hits. Browsed some pages.

Reviewers: chad

Reviewed By: chad

Differential Revision: https://secure.phabricator.com/D15074
This commit is contained in:
epriestley 2016-01-21 10:05:48 -08:00
parent 88e2929411
commit 7d1809f935

View file

@ -19,7 +19,6 @@ final class PHUIListItemView extends AphrontTagView {
private $isExternal;
private $key;
private $icon;
private $appIcon;
private $selected;
private $disabled;
private $renderNameAsTooltip;
@ -179,7 +178,7 @@ final class PHUIListItemView extends AphrontTagView {
$classes[] = 'phui-list-item-view';
$classes[] = 'phui-list-item-'.$this->type;
if ($this->icon || $this->appIcon) {
if ($this->icon) {
$classes[] = 'phui-list-item-has-icon';
}
@ -279,12 +278,6 @@ final class PHUIListItemView extends AphrontTagView {
->setImage($this->profileImage);
}
if ($this->appIcon) {
$icon = id(new PHUIIconView())
->addClass('phui-list-item-icon')
->setIconFont($this->appIcon);
}
$classes = array();
if ($this->href) {
$classes[] = 'phui-list-item-href';