Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14024710
D13716.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D13716.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
@@ -5391,6 +5391,7 @@
'PhabricatorPolicyInterface',
'PhabricatorApplicationTransactionInterface',
'PhabricatorSubscribableInterface',
+ 'PhabricatorTokenReceiverInterface',
'PhabricatorFlaggableInterface',
'PhabricatorDestructibleInterface',
),
diff --git a/src/applications/badges/storage/PhabricatorBadgesBadge.php b/src/applications/badges/storage/PhabricatorBadgesBadge.php
--- a/src/applications/badges/storage/PhabricatorBadgesBadge.php
+++ b/src/applications/badges/storage/PhabricatorBadgesBadge.php
@@ -5,6 +5,7 @@
PhabricatorPolicyInterface,
PhabricatorApplicationTransactionInterface,
PhabricatorSubscribableInterface,
+ PhabricatorTokenReceiverInterface,
PhabricatorFlaggableInterface,
PhabricatorDestructibleInterface {
@@ -189,6 +190,15 @@
}
+/* -( PhabricatorTokenReceiverInterface )---------------------------------- */
+
+
+ public function getUsersToNotifyOfTokenGiven() {
+ return array($this->getCreatorPHID());
+ }
+
+
+
/* -( PhabricatorDestructibleInterface )----------------------------------- */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 8, 11:42 AM (4 d, 13 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6737221
Default Alt Text
D13716.diff (1 KB)
Attached To
Mode
D13716: Allow Tokens on Badge
Attached
Detach File
Event Timeline
Log In to Comment