mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 16:22:43 +01:00
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
This commit is contained in:
parent
2aecae4ede
commit
0873b36569
1 changed files with 0 additions and 6 deletions
|
@ -34,12 +34,6 @@ final class AphrontTypeaheadTemplateView extends AphrontView {
|
||||||
|
|
||||||
$id = $this->id;
|
$id = $this->id;
|
||||||
$name = $this->getName();
|
$name = $this->getName();
|
||||||
$values = nonempty($this->getValue(), array());
|
|
||||||
|
|
||||||
$tokens = array();
|
|
||||||
foreach ($values as $key => $value) {
|
|
||||||
$tokens[] = $this->renderToken($key, $value);
|
|
||||||
}
|
|
||||||
|
|
||||||
$input = javelin_tag(
|
$input = javelin_tag(
|
||||||
'input',
|
'input',
|
||||||
|
|
Loading…
Reference in a new issue