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:
Chad Little
2015-08-08 20:29:37 -07:00
parent 0c3f74663c
commit 7e7e38e9c0
8 changed files with 4 additions and 311 deletions

View File

@@ -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());