Remove VotableInterface from PonderQuestion
Summary: Ref T6920, This removes the PonderVotableInterface from PonderQuestion and assocaited code. Also... never used? Test Plan: Visit Ponder, See List, New Question, Add Answer. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Maniphest Tasks: T6920 Differential Revision: https://secure.phabricator.com/D13833
This commit is contained in:
@@ -10,14 +10,11 @@ final class PonderQuestionViewController extends PonderController {
|
||||
->setViewer($viewer)
|
||||
->withIDs(array($id))
|
||||
->needAnswers(true)
|
||||
->needViewerVotes(true)
|
||||
->executeOne();
|
||||
if (!$question) {
|
||||
return new Aphront404Response();
|
||||
}
|
||||
|
||||
$question->attachVotes($viewer->getPHID());
|
||||
|
||||
$question_xactions = $this->buildQuestionTransactions($question);
|
||||
$answers = $this->buildAnswers($question->getAnswers());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user