Page MenuHomePhabricator

D8811.id.diff
No OneTemporary

D8811.id.diff

diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php
--- a/src/__phutil_library_map__.php
+++ b/src/__phutil_library_map__.php
@@ -2531,7 +2531,7 @@
'ReleephLevelFieldSpecification' => 'applications/releeph/field/specification/ReleephLevelFieldSpecification.php',
'ReleephOriginalCommitFieldSpecification' => 'applications/releeph/field/specification/ReleephOriginalCommitFieldSpecification.php',
'ReleephPHIDTypeBranch' => 'applications/releeph/phid/ReleephPHIDTypeBranch.php',
- 'ReleephPHIDTypeProject' => 'applications/releeph/phid/ReleephPHIDTypeProject.php',
+ 'ReleephPHIDTypeProduct' => 'applications/releeph/phid/ReleephPHIDTypeProduct.php',
'ReleephPHIDTypeRequest' => 'applications/releeph/phid/ReleephPHIDTypeRequest.php',
'ReleephProductActionController' => 'applications/releeph/controller/project/ReleephProductActionController.php',
'ReleephProductController' => 'applications/releeph/controller/project/ReleephProductController.php',
@@ -5527,7 +5527,7 @@
'ReleephLevelFieldSpecification' => 'ReleephFieldSpecification',
'ReleephOriginalCommitFieldSpecification' => 'ReleephFieldSpecification',
'ReleephPHIDTypeBranch' => 'PhabricatorPHIDType',
- 'ReleephPHIDTypeProject' => 'PhabricatorPHIDType',
+ 'ReleephPHIDTypeProduct' => 'PhabricatorPHIDType',
'ReleephPHIDTypeRequest' => 'PhabricatorPHIDType',
'ReleephProductActionController' => 'ReleephProductController',
'ReleephProductController' => 'ReleephController',
diff --git a/src/applications/releeph/phid/ReleephPHIDTypeProject.php b/src/applications/releeph/phid/ReleephPHIDTypeProduct.php
rename from src/applications/releeph/phid/ReleephPHIDTypeProject.php
rename to src/applications/releeph/phid/ReleephPHIDTypeProduct.php
--- a/src/applications/releeph/phid/ReleephPHIDTypeProject.php
+++ b/src/applications/releeph/phid/ReleephPHIDTypeProduct.php
@@ -1,6 +1,6 @@
<?php
-final class ReleephPHIDTypeProject extends PhabricatorPHIDType {
+final class ReleephPHIDTypeProduct extends PhabricatorPHIDType {
const TYPECONST = 'REPR';
@@ -9,7 +9,7 @@
}
public function getTypeName() {
- return pht('Releeph Project');
+ return pht('Releeph Product');
}
public function newObject() {
@@ -30,10 +30,10 @@
array $objects) {
foreach ($handles as $phid => $handle) {
- $project = $objects[$phid];
+ $product = $objects[$phid];
- $handle->setName($project->getName());
- $handle->setURI($project->getURI());
+ $handle->setName($product->getName());
+ $handle->setURI($product->getURI());
}
}
diff --git a/src/applications/releeph/storage/ReleephProductTransaction.php b/src/applications/releeph/storage/ReleephProductTransaction.php
--- a/src/applications/releeph/storage/ReleephProductTransaction.php
+++ b/src/applications/releeph/storage/ReleephProductTransaction.php
@@ -10,7 +10,7 @@
}
public function getApplicationTransactionType() {
- return ReleephPHIDTypeProject::TYPECONST;
+ return ReleephPHIDTypeProduct::TYPECONST;
}
public function getColor() {
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
@@ -33,7 +33,7 @@
}
public function generatePHID() {
- return PhabricatorPHID::generateNewPHID(ReleephPHIDTypeProject::TYPECONST);
+ return PhabricatorPHID::generateNewPHID(ReleephPHIDTypeProduct::TYPECONST);
}
public function getDetail($key, $default = null) {

File Metadata

Mime Type
text/plain
Expires
Thu, Oct 17, 2:07 AM (2 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6720167
Default Alt Text
D8811.id.diff (3 KB)

Event Timeline