]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Stop passsing bogus 'user' parameter to differential.createrevision
authorepriestley <git@epriestley.com>
Mon, 17 Dec 2012 22:41:27 +0000 (14:41 -0800)
committerepriestley <git@epriestley.com>
Mon, 17 Dec 2012 22:41:27 +0000 (14:41 -0800)
Summary: After D4191 this is a fatal.

Test Plan: Created this revision.

Reviewers: vrana, btrahan

Reviewed By: btrahan

CC: aran
Differential Revision: https://secure.phabricator.com/D4219

src/workflow/ArcanistDiffWorkflow.php

index 62e89b1ccc3da4f74d88f284da14e0e6538dd718..181dd145ed3f70288c779829046c9c580e5bd872 100644 (file)
@@ -518,7 +518,6 @@ EOTEXT
         ob_start();
       }
     } else {
-
       $revision['diffid'] = $this->getDiffID();
 
       if ($commit_message->getRevisionID()) {
@@ -534,8 +533,6 @@ EOTEXT
 
         echo "Updated an existing Differential revision:\n";
       } else {
-        $revision['user'] = $this->getUserPHID();
-
         $revision = $this->dispatchWillCreateRevisionEvent($revision);
 
         $result = $conduit->callMethodSynchronous(