From 49662df87328b4fb2f235c55eebe9d810ca17f82 Mon Sep 17 00:00:00 2001 From: hernani Date: Tue, 11 May 2010 10:03:18 +0000 Subject: [PATCH] Remove old method. Proably causing model validation errors? git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@215 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum/models/node.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/forum/models/node.py b/forum/models/node.py index d2b70b6..e5468ab 100644 --- a/forum/models/node.py +++ b/forum/models/node.py @@ -254,15 +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): - return False - #if not settings.WORDPRESS_API_KEY: - # return False - # - #api = Akismet(settings.WORDPRESS_API_KEY, settings.APP_URL) - #return api.comment_check(comment, data) - class Meta: app_label = 'forum' -- 2.39.5