Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14357007
D13012.id31384.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D13012.id31384.diff
View Options
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(
@@ -35,6 +34,7 @@
'name' => 'text128',
'trunkBranch' => 'text255',
'isActive' => 'bool',
+ 'arcanistProjectID' => 'id?',
),
self::CONFIG_KEY_SCHEMA => array(
'projectName' => array(
@@ -67,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());
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 21, 2:01 AM (15 h, 32 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6912469
Default Alt Text
D13012.id31384.diff (2 KB)
Attached To
Mode
D13012: Remove "arcanist project" fields
Attached
Detach File
Event Timeline
Log In to Comment