mirror of
https://we.phorge.it/source/phorge.git
synced 2025-03-24 18:20:14 +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 $repository;
|
||||||
protected $repositoryCommit;
|
protected $repositoryCommit;
|
||||||
protected $repositoryCommitData;
|
protected $repositoryCommitData;
|
||||||
protected $arcanistProjects;
|
|
||||||
|
|
||||||
private $isClusterRequest = false;
|
private $isClusterRequest = false;
|
||||||
private $initFromConduit = true;
|
private $initFromConduit = true;
|
||||||
|
@ -401,16 +400,6 @@ abstract class DiffusionRequest {
|
||||||
return $this->repositoryCommit;
|
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() {
|
public function loadCommitData() {
|
||||||
if (empty($this->repositoryCommitData)) {
|
if (empty($this->repositoryCommitData)) {
|
||||||
$commit = $this->loadCommit();
|
$commit = $this->loadCommit();
|
||||||
|
|
Loading…
Add table
Reference in a new issue