Switch to unified view

a/Allura/allura/model/discuss.py b/Allura/allura/model/discuss.py
...
...
444
            security.simple_grant(
444
            security.simple_grant(
445
                self.acl, author.project_role()._id, 'unmoderated_post')
445
                self.acl, author.project_role()._id, 'unmoderated_post')
446
        g.post_event('discussion.new_post', self.thread_id, self._id)
446
        g.post_event('discussion.new_post', self.thread_id, self._id)
447
        artifact = self.thread.artifact or self.thread
447
        artifact = self.thread.artifact or self.thread
448
        n = Notification.post(artifact, 'message', post=self)
448
        n = Notification.post(artifact, 'message', post=self)
449
        monitoring_email = self.app.config.options.get('MonitoringEmail')
449
        monitoring_email = c.app.config.options.get('MonitoringEmail')
450
        if monitoring_email:
450
        if monitoring_email:
451
            n.send_simple(monitoring_email)
451
            n.send_simple(monitoring_email)
452
        session(self).flush()
452
        session(self).flush()
453
        self.thread.last_post_date = max(
453
        self.thread.last_post_date = max(
454
            self.thread.last_post_date,
454
            self.thread.last_post_date,