]> git.openstreetmap.org Git - osqa.git/commitdiff
Remove old method. Proably causing model validation errors?
authorhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Tue, 11 May 2010 10:03:18 +0000 (10:03 +0000)
committerhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Tue, 11 May 2010 10:03:18 +0000 (10:03 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@215 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/models/node.py

index d2b70b6eeb099e6f207f18ca1f016c15fd79d585..e5468ab26976d388d49ef07bd97a7644d8996d18 100644 (file)
@@ -254,15 +254,6 @@ class Node(BaseModel, NodeContent):
         super(Node, self).save(*args, **kwargs)\r
         if tags is not None: self.tags = tags\r
 \r
-    @staticmethod\r
-    def isSpam(comment, data):\r
-        return False\r
-        #if not settings.WORDPRESS_API_KEY:\r
-        #    return False\r
-        #\r
-        #api = Akismet(settings.WORDPRESS_API_KEY, settings.APP_URL)\r
-        #return api.comment_check(comment, data)\r
-\r
     class Meta:\r
         app_label = 'forum'\r
 \r