summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Zielinski <tomasz.zielinski@pyconsultant.eu>2011-12-08 15:02:01 +0100
committerTomasz Zielinski <tomasz.zielinski@pyconsultant.eu>2011-12-08 15:02:01 +0100
commit77e65bbae4990d39f4d110971dc96e36ac943c68 (patch)
tree94c4b2cc2e23d3dade25d1d18996f9e533f2f1c4
parent4e28a1547fa1d90965be32e841a3bebb02fdb79e (diff)
downloadaskbot-77e65bbae4990d39f4d110971dc96e36ac943c68.tar.gz
askbot-77e65bbae4990d39f4d110971dc96e36ac943c68.tar.bz2
askbot-77e65bbae4990d39f4d110971dc96e36ac943c68.zip
Removed unused methods from AnswerManager
-rw-r--r--askbot/models/answer.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/askbot/models/answer.py b/askbot/models/answer.py
index fd1c13f6..745fc1c0 100644
--- a/askbot/models/answer.py
+++ b/askbot/models/answer.py
@@ -51,22 +51,6 @@ class AnswerManager(models.Manager):
return answer
- #todo: I think this method is not being used anymore, I'll just comment it for now
-# def get_author_list(self, **kwargs):
-# authors = set()
-# for answer in self:
-# authors.update(answer.get_author_list(**kwargs))
-# return list(authors)
-
- #todo: I think this method is not being used anymore, I'll just comment it for now
- #def get_answers_from_questions(self, user_id):
- # """
- # Retrieves visibile answers for the given question. Which are not included own answers
- # """
- # cursor = connection.cursor()
- # cursor.execute(self.GET_ANSWERS_FROM_USER_QUESTIONS, [user_id, user_id])
- # return cursor.fetchall()
-
class Answer(content.Content):
post_type = 'answer'
question = models.ForeignKey('Question', related_name='answers')