Page MenuHomePhabricator

D12600.id30258.diff
No OneTemporary

D12600.id30258.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,15 @@
public function shouldAllowSubscription($phid) {
return true;
}
+
+/* -( PhabricatorTokenReceiverInterface )---------------------------------- */
+
+
+ public function getUsersToNotifyOfTokenGiven() {
+ return array_filter(
+ array_unique(
+ array(
+ $this->getUserPHID(),
+ )));
+ }
}

File Metadata

Mime Type
text/plain
Expires
Mon, Aug 4, 11:45 PM (2 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8957269
Default Alt Text
D12600.id30258.diff (930 B)

Event Timeline