From: Joshua Spence Date: Fri, 22 May 2015 07:09:18 +0000 (+1000) Subject: Remove an unused variable X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=9edcaadb2aa67dce5c7e26446e19958028e9e84f;p=arcanist.git Remove an unused variable 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 --- diff --git a/src/workflow/ArcanistDiffWorkflow.php b/src/workflow/ArcanistDiffWorkflow.php index 56c2a281..7f844de1 100644 --- a/src/workflow/ArcanistDiffWorkflow.php +++ b/src/workflow/ArcanistDiffWorkflow.php @@ -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,