Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14351134
D15932.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
4 KB
Referenced Files
None
Subscribers
None
D15932.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
@@ -2166,7 +2166,6 @@
'PhabricatorCountdownTransactionQuery' => 'applications/countdown/query/PhabricatorCountdownTransactionQuery.php',
'PhabricatorCountdownView' => 'applications/countdown/view/PhabricatorCountdownView.php',
'PhabricatorCountdownViewController' => 'applications/countdown/controller/PhabricatorCountdownViewController.php',
- 'PhabricatorCredentialsUsedByObjectEdgeType' => 'applications/passphrase/edge/PhabricatorCredentialsUsedByObjectEdgeType.php',
'PhabricatorCursorPagedPolicyAwareQuery' => 'infrastructure/query/policy/PhabricatorCursorPagedPolicyAwareQuery.php',
'PhabricatorCustomField' => 'infrastructure/customfield/field/PhabricatorCustomField.php',
'PhabricatorCustomFieldAttachment' => 'infrastructure/customfield/field/PhabricatorCustomFieldAttachment.php',
@@ -2807,7 +2806,6 @@
'PhabricatorObjectQuery' => 'applications/phid/query/PhabricatorObjectQuery.php',
'PhabricatorObjectRemarkupRule' => 'infrastructure/markup/rule/PhabricatorObjectRemarkupRule.php',
'PhabricatorObjectSelectorDialog' => 'view/control/PhabricatorObjectSelectorDialog.php',
- 'PhabricatorObjectUsesCredentialsEdgeType' => 'applications/transactions/edges/PhabricatorObjectUsesCredentialsEdgeType.php',
'PhabricatorOffsetPagedQuery' => 'infrastructure/query/PhabricatorOffsetPagedQuery.php',
'PhabricatorOldWorldContentSource' => 'infrastructure/contentsource/PhabricatorOldWorldContentSource.php',
'PhabricatorOneTimeTriggerClock' => 'infrastructure/daemon/workers/clock/PhabricatorOneTimeTriggerClock.php',
@@ -6656,7 +6654,6 @@
'PhabricatorCountdownTransactionQuery' => 'PhabricatorApplicationTransactionQuery',
'PhabricatorCountdownView' => 'AphrontView',
'PhabricatorCountdownViewController' => 'PhabricatorCountdownController',
- 'PhabricatorCredentialsUsedByObjectEdgeType' => 'PhabricatorEdgeType',
'PhabricatorCursorPagedPolicyAwareQuery' => 'PhabricatorPolicyAwareQuery',
'PhabricatorCustomField' => 'Phobject',
'PhabricatorCustomFieldAttachment' => 'Phobject',
@@ -7381,7 +7378,6 @@
'PhabricatorObjectQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
'PhabricatorObjectRemarkupRule' => 'PhutilRemarkupRule',
'PhabricatorObjectSelectorDialog' => 'Phobject',
- 'PhabricatorObjectUsesCredentialsEdgeType' => 'PhabricatorEdgeType',
'PhabricatorOffsetPagedQuery' => 'PhabricatorQuery',
'PhabricatorOldWorldContentSource' => 'PhabricatorContentSource',
'PhabricatorOneTimeTriggerClock' => 'PhabricatorTriggerClock',
diff --git a/src/applications/passphrase/controller/PassphraseCredentialViewController.php b/src/applications/passphrase/controller/PassphraseCredentialViewController.php
--- a/src/applications/passphrase/controller/PassphraseCredentialViewController.php
+++ b/src/applications/passphrase/controller/PassphraseCredentialViewController.php
@@ -202,16 +202,6 @@
$credential->getUsername());
}
- $used_by_phids = PhabricatorEdgeQuery::loadDestinationPHIDs(
- $credential->getPHID(),
- PhabricatorCredentialsUsedByObjectEdgeType::EDGECONST);
-
- if ($used_by_phids) {
- $properties->addProperty(
- pht('Used By'),
- $viewer->renderHandleList($used_by_phids));
- }
-
$description = $credential->getDescription();
if (strlen($description)) {
$properties->addSectionHeader(
diff --git a/src/applications/passphrase/edge/PhabricatorCredentialsUsedByObjectEdgeType.php b/src/applications/passphrase/edge/PhabricatorCredentialsUsedByObjectEdgeType.php
deleted file mode 100644
--- a/src/applications/passphrase/edge/PhabricatorCredentialsUsedByObjectEdgeType.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-
-final class PhabricatorCredentialsUsedByObjectEdgeType
- extends PhabricatorEdgeType {
-
- const EDGECONST = 40;
-
- public function getInverseEdgeConstant() {
- return PhabricatorObjectUsesCredentialsEdgeType::EDGECONST;
- }
-
- public function shouldWriteInverseTransactions() {
- return true;
- }
-
-}
diff --git a/src/applications/transactions/edges/PhabricatorObjectUsesCredentialsEdgeType.php b/src/applications/transactions/edges/PhabricatorObjectUsesCredentialsEdgeType.php
deleted file mode 100644
--- a/src/applications/transactions/edges/PhabricatorObjectUsesCredentialsEdgeType.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-
-final class PhabricatorObjectUsesCredentialsEdgeType
- extends PhabricatorEdgeType {
-
- const EDGECONST = 39;
-
- public function getInverseEdgeConstant() {
- return PhabricatorCredentialsUsedByObjectEdgeType::EDGECONST;
- }
-
- public function shouldWriteInverseTransactions() {
- return true;
- }
-
-}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 7:17 AM (21 h, 11 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6909823
Default Alt Text
D15932.diff (4 KB)
Attached To
Mode
D15932: Remove "Used By" from Passphrase
Attached
Detach File
Event Timeline
Log In to Comment