diff --git a/src/applications/differential/storage/DifferentialDiff.php b/src/applications/differential/storage/DifferentialDiff.php --- a/src/applications/differential/storage/DifferentialDiff.php +++ b/src/applications/differential/storage/DifferentialDiff.php @@ -37,7 +37,6 @@ private $unsavedChangesets = array(); private $changesets = self::ATTACHABLE; - private $arcanistProject = self::ATTACHABLE; private $revision = self::ATTACHABLE; private $properties = array(); @@ -108,25 +107,6 @@ $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() { $this->openTransaction(); $ret = parent::save(); diff --git a/src/applications/releeph/storage/ReleephProject.php b/src/applications/releeph/storage/ReleephProject.php --- a/src/applications/releeph/storage/ReleephProject.php +++ b/src/applications/releeph/storage/ReleephProject.php @@ -23,7 +23,6 @@ protected $details = array(); private $repository = self::ATTACHABLE; - private $arcanistProject = self::ATTACHABLE; protected function getConfiguration() { return array( @@ -68,16 +67,6 @@ 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() { return $this->getDetail('pushers', array()); }