]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Remove an unused variable
authorJoshua Spence <josh@joshuaspence.com>
Fri, 22 May 2015 07:09:18 +0000 (17:09 +1000)
committerJoshua Spence <josh@joshuaspence.com>
Fri, 22 May 2015 07:09:18 +0000 (17:09 +1000)
Summary: Ref T7604. Remove an unused variable from `ArcanistDiffWorkflow`.

Test Plan: This diff, I guess.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin, epriestley

Maniphest Tasks: T7604

Differential Revision: https://secure.phabricator.com/D12972

src/workflow/ArcanistDiffWorkflow.php

index 56c2a281445dd0c99c28ad01bc7898b9d238cd52..7f844de174e1cffa177e47e90bee7c0d3168e4e0 100644 (file)
@@ -2240,11 +2240,6 @@ EOTEXT
       }
     }
 
-    $project_id = null;
-    if ($this->requiresWorkingCopy()) {
-      $project_id = $this->getWorkingCopy()->getProjectID();
-    }
-
     $data = array(
       'sourceMachine'             => php_uname('n'),
       'sourcePath'                => $source_path,