Page MenuHomePhabricator

D12600.diff
No OneTemporary

D12600.diff

diff --git a/src/applications/calendar/storage/PhabricatorCalendarEvent.php b/src/applications/calendar/storage/PhabricatorCalendarEvent.php
--- a/src/applications/calendar/storage/PhabricatorCalendarEvent.php
+++ b/src/applications/calendar/storage/PhabricatorCalendarEvent.php
@@ -4,7 +4,8 @@
implements PhabricatorPolicyInterface,
PhabricatorMarkupInterface,
PhabricatorApplicationTransactionInterface,
- PhabricatorSubscribableInterface {
+ PhabricatorSubscribableInterface,
+ PhabricatorTokenReceiverInterface {
protected $name;
protected $userPHID;
@@ -234,4 +235,11 @@
public function shouldAllowSubscription($phid) {
return true;
}
+
+/* -( PhabricatorTokenReceiverInterface )---------------------------------- */
+
+
+ public function getUsersToNotifyOfTokenGiven() {
+ return array($this->getUserPHID());
+ }
}

File Metadata

Mime Type
text/plain
Expires
Sun, Feb 9, 4:04 AM (7 h, 10 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7102178
Default Alt Text
D12600.diff (861 B)

Event Timeline