Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13965437
D8811.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
3 KB
Referenced Files
None
Subscribers
None
D8811.id.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D8811: Rename Releeph "Project" PHID type to "Product"
Attached
Detach File
Event Timeline
Log In to Comment