mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-19 13:22:42 +01:00
Allow polls to be public
Summary: Fixes T9474 Test Plan: Make a poll, log out, still see it. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Maniphest Tasks: T9474 Differential Revision: https://secure.phabricator.com/D14179
This commit is contained in:
parent
ffbcefb629
commit
a3b49053c0
1 changed files with 4 additions and 0 deletions
|
@ -3,6 +3,10 @@
|
||||||
final class PhabricatorSlowvotePollController
|
final class PhabricatorSlowvotePollController
|
||||||
extends PhabricatorSlowvoteController {
|
extends PhabricatorSlowvoteController {
|
||||||
|
|
||||||
|
public function shouldAllowPublic() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
public function handleRequest(AphrontRequest $request) {
|
public function handleRequest(AphrontRequest $request) {
|
||||||
$viewer = $request->getViewer();
|
$viewer = $request->getViewer();
|
||||||
$id = $request->getURIData('id');
|
$id = $request->getURIData('id');
|
||||||
|
|
Loading…
Reference in a new issue