diff options
Diffstat (limited to 'forum')
-rw-r--r-- | forum/admin.py | 1 | ||||
-rw-r--r-- | forum/forms.py | 1 | ||||
-rw-r--r-- | forum/management/commands/send_email_alerts.py | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/forum/admin.py b/forum/admin.py index 9d81450a..3afa2241 100644 --- a/forum/admin.py +++ b/forum/admin.py @@ -3,7 +3,6 @@ from django.contrib import admin from models import * - class AnonymousQuestionAdmin(admin.ModelAdmin): """AnonymousQuestion admin class""" diff --git a/forum/forms.py b/forum/forms.py index 5d70fcff..f22763f7 100644 --- a/forum/forms.py +++ b/forum/forms.py @@ -182,7 +182,6 @@ class EditQuestionForm(forms.Form): tags = TagNamesField() summary = SummaryField() - def __init__(self, question, revision, *args, **kwargs): super(EditQuestionForm, self).__init__(*args, **kwargs) self.fields['title'].initial = revision.title diff --git a/forum/management/commands/send_email_alerts.py b/forum/management/commands/send_email_alerts.py index db6c00ac..ab318e50 100644 --- a/forum/management/commands/send_email_alerts.py +++ b/forum/management/commands/send_email_alerts.py @@ -57,7 +57,6 @@ class Command(NoArgsCommand): q_ans = Q_set.filter(answers__author=user) q_ans.cutoff_time = cutoff_time elif feed.feed_type == 'q_all': - if user.tag_filter_setting == 'ignored': ignored_tags = Tag.objects.filter(user_selections__reason='bad',user_selections__user=user) q_all = Q_set.exclude( tags__in=ignored_tags ) |