Page MenuHomePhabricator

D12566.id30163.diff
No OneTemporary

D12566.id30163.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
@@ -467,8 +467,6 @@
'vcsprintf' => 'xsprintf/csprintf.php',
'vjsprintf' => 'xsprintf/jsprintf.php',
'vqsprintf' => 'xsprintf/qsprintf.php',
- 'vqueryfx' => 'xsprintf/queryfx.php',
- 'vqueryfx_all' => 'xsprintf/queryfx.php',
'vurisprintf' => 'xsprintf/urisprintf.php',
'xhp_parser_node_constants' => 'parser/xhpast/parser_nodes.php',
'xhpast_parser_token_constants' => 'parser/xhpast/parser_tokens.php',
@@ -483,8 +481,8 @@
),
'xmap' => array(
'AASTNodeList' => array(
- 'Iterator',
'Countable',
+ 'Iterator',
),
'AbstractDirectedGraphTestCase' => 'PhutilTestCase',
'AphrontAccessDeniedQueryException' => 'AphrontRecoverableQueryException',
diff --git a/src/xsprintf/queryfx.php b/src/xsprintf/queryfx.php
--- a/src/xsprintf/queryfx.php
+++ b/src/xsprintf/queryfx.php
@@ -6,11 +6,6 @@
$conn->executeRawQuery($query);
}
-function vqueryfx(AphrontDatabaseConnection $conn, $sql, array $argv) {
- array_unshift($argv, $conn, $sql);
- call_user_func_array('queryfx', $argv);
-}
-
function queryfx_all(AphrontDatabaseConnection $conn, $sql /* , ... */) {
$argv = func_get_args();
call_user_func_array('queryfx', $argv);
@@ -27,9 +22,3 @@
}
return null;
}
-
-function vqueryfx_all(AphrontDatabaseConnection $conn, $sql, array $argv) {
- array_unshift($argv, $conn, $sql);
- call_user_func_array('queryfx', $argv);
- return $conn->selectAllResults();
-}

File Metadata

Mime Type
text/plain
Expires
Fri, Mar 21, 2:58 AM (2 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7714477
Default Alt Text
D12566.id30163.diff (1 KB)

Event Timeline