mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +01:00
Remove arcanist projects from DiffusionRequest
Summary: Ref T7604. This data is no longer used. Depends on D12894. Test Plan: `grep` Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: Korvin, epriestley Maniphest Tasks: T7604 Differential Revision: https://secure.phabricator.com/D12895
This commit is contained in:
parent
596db64ee6
commit
2f80c01236
1 changed files with 0 additions and 11 deletions
|
@ -22,7 +22,6 @@ abstract class DiffusionRequest {
|
|||
protected $repository;
|
||||
protected $repositoryCommit;
|
||||
protected $repositoryCommitData;
|
||||
protected $arcanistProjects;
|
||||
|
||||
private $isClusterRequest = false;
|
||||
private $initFromConduit = true;
|
||||
|
@ -401,16 +400,6 @@ abstract class DiffusionRequest {
|
|||
return $this->repositoryCommit;
|
||||
}
|
||||
|
||||
public function loadArcanistProjects() {
|
||||
if (empty($this->arcanistProjects)) {
|
||||
$projects = id(new PhabricatorRepositoryArcanistProject())->loadAllWhere(
|
||||
'repositoryID = %d',
|
||||
$this->getRepository()->getID());
|
||||
$this->arcanistProjects = $projects;
|
||||
}
|
||||
return $this->arcanistProjects;
|
||||
}
|
||||
|
||||
public function loadCommitData() {
|
||||
if (empty($this->repositoryCommitData)) {
|
||||
$commit = $this->loadCommit();
|
||||
|
|
Loading…
Reference in a new issue