From ea5bc2efacf2f9e2de1514e206fbf40e6b9b9c87 Mon Sep 17 00:00:00 2001 From: epriestley Date: Wed, 2 Oct 2013 13:11:35 -0700 Subject: [PATCH] Remove some dead code Summary: I removed the only callsite in D7179, but forgot to remove this code. Test Plan: Grepped for callsites. Reviewers: btrahan Reviewed By: btrahan CC: aran Differential Revision: https://secure.phabricator.com/D7194 --- .../mail/DifferentialReviewRequestMail.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/applications/differential/mail/DifferentialReviewRequestMail.php b/src/applications/differential/mail/DifferentialReviewRequestMail.php index e1e705510c..2c858de252 100644 --- a/src/applications/differential/mail/DifferentialReviewRequestMail.php +++ b/src/applications/differential/mail/DifferentialReviewRequestMail.php @@ -103,17 +103,6 @@ abstract class DifferentialReviewRequestMail extends DifferentialMail { return $attachments; } - public function loadFileByPHID($phid) { - // TODO: (T603) Factor this and the other one out. - $file = id(new PhabricatorFile())->loadOneWhere( - 'phid = %s', - $phid); - if (!$file) { - return null; - } - return $file->loadFileData(); - } - private function buildPatch() { $diff = new DifferentialDiff(); $diff->attachChangesets($this->getChangesets());