Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15398829
D15096.id36448.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1012 B
Referenced Files
None
Subscribers
None
D15096.id36448.diff
View Options
diff --git a/src/applications/passphrase/storage/PassphraseCredentialTransaction.php b/src/applications/passphrase/storage/PassphraseCredentialTransaction.php
--- a/src/applications/passphrase/storage/PassphraseCredentialTransaction.php
+++ b/src/applications/passphrase/storage/PassphraseCredentialTransaction.php
@@ -81,9 +81,15 @@
'%s updated the secret for this credential.',
$this->renderHandleLink($author_phid));
case self::TYPE_DESTROY:
- return pht(
- '%s destroyed this credential.',
- $this->renderHandleLink($author_phid));
+ if ($new) {
+ return pht(
+ '%s destroyed this credential.',
+ $this->renderHandleLink($author_phid));
+ } else {
+ return pht(
+ '%s restored this credential.',
+ $this->renderHandleLink($author_phid));
+ }
case self::TYPE_LOOKEDATSECRET:
return pht(
'%s examined the secret plaintext for this credential.',
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 18, 1:49 AM (6 d, 16 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7707228
Default Alt Text
D15096.id36448.diff (1012 B)
Attached To
Mode
D15096: Fix text for Passphrase credential destruction transaction when restoring credentials
Attached
Detach File
Event Timeline
Log In to Comment