Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14076556
D11081.id26606.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D11081.id26606.diff
View Options
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
@@ -348,7 +348,6 @@
'XsprintfUnknownConversionException' => 'xsprintf/exception/XsprintfUnknownConversionException.php',
),
'function' => array(
- 'Futures' => 'future/functions.php',
'_phutil_date_format' => 'utils/viewutils.php',
'_qsprintf_check_scalar_type' => 'xsprintf/qsprintf.php',
'_qsprintf_check_type' => 'xsprintf/qsprintf.php',
diff --git a/src/future/FutureIterator.php b/src/future/FutureIterator.php
--- a/src/future/FutureIterator.php
+++ b/src/future/FutureIterator.php
@@ -45,9 +45,7 @@
/**
- * Create a new iterator over a list of futures. By convention, use the
- * convenience function @{function:Futures} instead of instantiating this
- * class directly.
+ * Create a new iterator over a list of futures.
*
* @param list List of @{class:Future}s to resolve.
* @task basics
diff --git a/src/future/functions.php b/src/future/functions.php
deleted file mode 100644
--- a/src/future/functions.php
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php
-
-/**
- * Convenience function for instantiating a new @{class:FutureIterator}.
- *
- * @param list List of @{class:Future}s.
- * @return FutureIterator New @{class:FutureIterator} over those futures.
- */
-function Futures($futures) {
- return new FutureIterator($futures);
-}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 22, 6:14 PM (15 h, 8 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6775546
Default Alt Text
D11081.id26606.diff (1 KB)
Attached To
Mode
D11081: Remove the `Futures()` method
Attached
Detach File
Event Timeline
Log In to Comment