@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove call to non-existing AphrontTypeaheadTemplateView::renderToken()

Summary:
`AphrontTypeaheadTemplateView::renderToken()` is an undefined method,
and its result is stored in an orphan variable, and no child class
extends `AphrontTypeaheadTemplateView` defining a `renderToken()`.
Thus remove its call from `AphrontTypeaheadTemplateView::render()`.

Test Plan: Read/grep the code in this class.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25721

-6
-6
src/view/control/AphrontTypeaheadTemplateView.php
··· 34 34 35 35 $id = $this->id; 36 36 $name = $this->getName(); 37 - $values = nonempty($this->getValue(), array()); 38 - 39 - $tokens = array(); 40 - foreach ($values as $key => $value) { 41 - $tokens[] = $this->renderToken($key, $value); 42 - } 43 37 44 38 $input = javelin_tag( 45 39 'input',