X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/08dbd720394d897a295fd610d30990b9fad26a04..98bb9255b9a2a2b7f49d15123864ef8bc39625e8:/forum/models/node.py diff --git a/forum/models/node.py b/forum/models/node.py index dc292fb..e5468ab 100644 --- a/forum/models/node.py +++ b/forum/models/node.py @@ -1,4 +1,3 @@ -from forum.akismet import * from base import * from tag import Tag @@ -255,21 +254,6 @@ class Node(BaseModel, NodeContent): super(Node, self).save(*args, **kwargs) if tags is not None: self.tags = tags - @staticmethod - def isSpam(comment, data): - #api = Akismet() - - #if not api.key: - # return False - #else: - # if api.comment_check(comment, data): - # return True - # else: - # return False - # return data - return False - - class Meta: app_label = 'forum'