diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php index 4f72ab16f6..8d84b6e618 100644 --- a/src/__phutil_library_map__.php +++ b/src/__phutil_library_map__.php @@ -5610,6 +5610,7 @@ phutil_register_library_map(array( 'PhabricatorFlaggableInterface', 'PhabricatorSubscribableInterface', 'PhabricatorApplicationTransactionInterface', + 'PhabricatorTokenReceiverInterface', 'PhabricatorSpacesInterface', 'PhabricatorProjectInterface', ), diff --git a/src/applications/countdown/storage/PhabricatorCountdown.php b/src/applications/countdown/storage/PhabricatorCountdown.php index 8c89d1a901..827fe69af0 100644 --- a/src/applications/countdown/storage/PhabricatorCountdown.php +++ b/src/applications/countdown/storage/PhabricatorCountdown.php @@ -6,6 +6,7 @@ final class PhabricatorCountdown extends PhabricatorCountdownDAO PhabricatorFlaggableInterface, PhabricatorSubscribableInterface, PhabricatorApplicationTransactionInterface, + PhabricatorTokenReceiverInterface, PhabricatorSpacesInterface, PhabricatorProjectInterface { @@ -89,6 +90,13 @@ final class PhabricatorCountdown extends PhabricatorCountdownDAO return $timeline; } +/* -( PhabricatorTokenReceiverInterface )---------------------------------- */ + + + public function getUsersToNotifyOfTokenGiven() { + return array($this->getAuthorPHID()); + } + /* -( PhabricatorPolicyInterface )----------------------------------------- */