Page MenuHomePhabricator

D21043.diff
No OneTemporary

D21043.diff

diff --git a/src/upload/ArcanistFileUploader.php b/src/upload/ArcanistFileUploader.php
--- a/src/upload/ArcanistFileUploader.php
+++ b/src/upload/ArcanistFileUploader.php
@@ -5,7 +5,7 @@
*
* // Create a new uploader.
* $uploader = id(new ArcanistFileUploader())
- * ->setConduitClient($conduit);
+ * ->setConduitEngine($conduit);
*
* // Queue one or more files to be uploaded.
* $file = id(new ArcanistFileDataRef())
@@ -77,7 +77,7 @@
* Upload files to the server.
*
* This transfers all files which have been queued with @{method:addFiles}
- * over the Conduit link configured with @{method:setConduitClient}.
+ * over the Conduit link configured with @{method:setConduitEngine}.
*
* This method returns a map of all file data references. If references were
* added with an explicit key when @{method:addFile} was called, the key is
diff --git a/src/workflow/ArcanistDiffWorkflow.php b/src/workflow/ArcanistDiffWorkflow.php
--- a/src/workflow/ArcanistDiffWorkflow.php
+++ b/src/workflow/ArcanistDiffWorkflow.php
@@ -2742,7 +2742,7 @@
}
$uploader = id(new ArcanistFileUploader())
- ->setConduitClient($this->getConduit());
+ ->setConduitEngine($this->getConduitEngine());
foreach ($need_upload as $key => $spec) {
$ref = id(new ArcanistFileDataRef())

File Metadata

Mime Type
text/plain
Expires
Sun, Mar 9, 6:19 PM (2 d, 28 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7390514
Default Alt Text
D21043.diff (1 KB)

Event Timeline