Page MenuHomePhabricator

D21814.diff
No OneTemporary

D21814.diff

diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php
--- a/src/__phutil_library_map__.php
+++ b/src/__phutil_library_map__.php
@@ -968,6 +968,7 @@
'nonempty' => 'utils/utils.php',
'phlog' => 'error/phlog.php',
'pht' => 'internationalization/pht.php',
+ 'pht_list' => 'internationalization/pht.php',
'phutil_build_http_querystring' => 'utils/utils.php',
'phutil_build_http_querystring_from_pairs' => 'utils/utils.php',
'phutil_censor_credentials' => 'utils/utils.php',
diff --git a/src/internationalization/pht.php b/src/internationalization/pht.php
--- a/src/internationalization/pht.php
+++ b/src/internationalization/pht.php
@@ -44,3 +44,7 @@
function phutil_person(PhutilPerson $person) {
return $person;
}
+
+function pht_list(array $items) {
+ return implode(', ', $items);
+}

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 23, 2:58 AM (17 h, 10 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6776912
Default Alt Text
D21814.diff (846 B)

Event Timeline