Remove implode_selected_handle_links()
Summary: Ref T7689. Use the newer, less-janky stuff for rendering handles. Test Plan: - Viewed a revision hovercard; viewed "Author", viewed "Reviewers", viewed "Tasks". - Viewed a task hovercard; viewed "Assigned To"; viewed "Projects"; viewed other edge fields. Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Maniphest Tasks: T7689 Differential Revision: https://secure.phabricator.com/D12209
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Implodes selected handles from a pool of handles. Useful if you load handles
|
||||
* for various phids, but only render a few of them at a time.
|
||||
*
|
||||
* @return PhutilSafeHTML
|
||||
*/
|
||||
function implode_selected_handle_links($glue, array $handles, array $phids) {
|
||||
|
||||
$items = array();
|
||||
foreach ($phids as $phid) {
|
||||
$items[] = $handles[$phid]->renderLink();
|
||||
}
|
||||
|
||||
return phutil_implode_html($glue, $items);
|
||||
}
|
||||
Reference in New Issue
Block a user