mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-18 21:02:41 +01:00
Remove "arcanist project" fields
Summary: Ref T7604. Remove these "arcanist project" fields from the `LiskDAO` classes, but leave the data intact (there are no more read/writes to this data). Test Plan: - Grepped for calls to these methods. - Ran `./bin/storage adjust` to check for schema issues. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: Korvin, epriestley Maniphest Tasks: T7604 Differential Revision: https://secure.phabricator.com/D13012
This commit is contained in:
parent
ebde9357c7
commit
9c5d9e3f47
2 changed files with 0 additions and 31 deletions
|
@ -37,7 +37,6 @@ final class DifferentialDiff
|
||||||
|
|
||||||
private $unsavedChangesets = array();
|
private $unsavedChangesets = array();
|
||||||
private $changesets = self::ATTACHABLE;
|
private $changesets = self::ATTACHABLE;
|
||||||
private $arcanistProject = self::ATTACHABLE;
|
|
||||||
private $revision = self::ATTACHABLE;
|
private $revision = self::ATTACHABLE;
|
||||||
private $properties = array();
|
private $properties = array();
|
||||||
|
|
||||||
|
@ -108,25 +107,6 @@ final class DifferentialDiff
|
||||||
$this->getID());
|
$this->getID());
|
||||||
}
|
}
|
||||||
|
|
||||||
public function attachArcanistProject(
|
|
||||||
PhabricatorRepositoryArcanistProject $project = null) {
|
|
||||||
$this->arcanistProject = $project;
|
|
||||||
return $this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function getArcanistProject() {
|
|
||||||
return $this->assertAttached($this->arcanistProject);
|
|
||||||
}
|
|
||||||
|
|
||||||
public function getArcanistProjectName() {
|
|
||||||
$name = '';
|
|
||||||
if ($this->arcanistProject) {
|
|
||||||
$project = $this->getArcanistProject();
|
|
||||||
$name = $project->getName();
|
|
||||||
}
|
|
||||||
return $name;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function save() {
|
public function save() {
|
||||||
$this->openTransaction();
|
$this->openTransaction();
|
||||||
$ret = parent::save();
|
$ret = parent::save();
|
||||||
|
|
|
@ -23,7 +23,6 @@ final class ReleephProject extends ReleephDAO
|
||||||
protected $details = array();
|
protected $details = array();
|
||||||
|
|
||||||
private $repository = self::ATTACHABLE;
|
private $repository = self::ATTACHABLE;
|
||||||
private $arcanistProject = self::ATTACHABLE;
|
|
||||||
|
|
||||||
protected function getConfiguration() {
|
protected function getConfiguration() {
|
||||||
return array(
|
return array(
|
||||||
|
@ -68,16 +67,6 @@ final class ReleephProject extends ReleephDAO
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getArcanistProject() {
|
|
||||||
return $this->assertAttached($this->arcanistProject);
|
|
||||||
}
|
|
||||||
|
|
||||||
public function attachArcanistProject(
|
|
||||||
PhabricatorRepositoryArcanistProject $arcanist_project = null) {
|
|
||||||
$this->arcanistProject = $arcanist_project;
|
|
||||||
return $this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function getPushers() {
|
public function getPushers() {
|
||||||
return $this->getDetail('pushers', array());
|
return $this->getDetail('pushers', array());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue