Changesets can be listed by changeset number.
The Git repository is here.
Changeset 126
Disassociated users have no e-mail address, so don't try and
send post notification messages to them should a topic to which
they were subscribed be updated.
- Comitted by: adh
- Date: Sunday October 29 09:30:57 2006 (over 17 years ago)
Affected files:
rool/rails/rforum/trunk/app/models/topic_subscription.rb:
prev. | current | |
# Notify the user of a new message. | ||
# "do_notify" because "notify" is used internally by ActiveRecord | ||
def do_notify(post) | ||
10 | | |
10 | if (post.user_id != self.user_id) and (self.user.email && !self.user.email.empty?) | |
Mailer.deliver_new_post_notification(self.user, post) | ||
end | ||
end |