~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/answers/browser/question.py

[r=wallyworld][bug=816261] Move bugs subscriptions_list to apps and
        add IQuestion.canBeUnsubscribedBy

Show diffs side-by-side

added added

removed removed

Lines of Context:
361
361
                    _("You have subscribed to this question."))
362
362
                modified_fields.add('subscribers')
363
363
            elif newsub == 'Unsubscribe':
364
 
                self.context.unsubscribe(self.user)
 
364
                self.context.unsubscribe(self.user, self.user)
365
365
                response.addNotification(
366
366
                    _("You have unsubscribed from this question."))
367
367
                modified_fields.add('subscribers')