mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-10 23:01:04 +01:00
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
This commit is contained in:
parent
6bd2251fa2
commit
ea5bc2efac
1 changed files with 0 additions and 11 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue