]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/models/user.py
Migrate to Django 1.6
[osqa.git] / forum / models / user.py
index cf47c6653e78b2eaae6f68b5e8ae5039b5c5b8a4..043761481eae3a81989c341eb15ae2e992e05ace 100644 (file)
@@ -209,15 +209,6 @@ class User(BaseModel, DjangoUser):
             sub_settings = SubscriptionSettings(user=self)
             sub_settings.save()
 
-    def get_messages(self):
-        messages = []
-        for m in self.message_set.all():
-            messages.append(m.message)
-        return messages
-
-    def delete_messages(self):
-        self.message_set.all().delete()
-
     @models.permalink
     def get_profile_url(self):
         keyword_arguments = {