mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-10 14:51:06 +01:00
Make slowvotes tokeanble
Summary: gimmie dem tokens Test Plan: {F50176} Reviewers: btrahan Reviewed By: btrahan CC: aran Differential Revision: https://secure.phabricator.com/D6459
This commit is contained in:
parent
a65e3812cb
commit
184f2ba7a4
2 changed files with 11 additions and 1 deletions
|
@ -157,6 +157,7 @@ final class PhabricatorSlowvotePollController
|
|||
'title' => 'V'.$poll->getID().' '.$poll->getQuestion(),
|
||||
'device' => true,
|
||||
'dust' => true,
|
||||
'pageObjects' => array($poll->getPHID()),
|
||||
));
|
||||
}
|
||||
|
||||
|
|
|
@ -6,7 +6,8 @@
|
|||
final class PhabricatorSlowvotePoll extends PhabricatorSlowvoteDAO
|
||||
implements
|
||||
PhabricatorPolicyInterface,
|
||||
PhabricatorSubscribableInterface {
|
||||
PhabricatorSubscribableInterface,
|
||||
PhabricatorTokenReceiverInterface {
|
||||
|
||||
const RESPONSES_VISIBLE = 0;
|
||||
const RESPONSES_VOTERS = 1;
|
||||
|
@ -111,4 +112,12 @@ final class PhabricatorSlowvotePoll extends PhabricatorSlowvoteDAO
|
|||
}
|
||||
|
||||
|
||||
/* -( PhabricatorTokenReceiverInterface )---------------------------------- */
|
||||
|
||||
|
||||
public function getUsersToNotifyOfTokenGiven() {
|
||||
return array($this->getAuthorPHID());
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue