mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-30 00:45:28 +08:00
Hound code style fixes [SCI-443]
This commit is contained in:
parent
5399033fce
commit
3f219e1bfe
1 changed files with 5 additions and 5 deletions
|
@ -31,11 +31,11 @@ class UserNotification < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def send_email
|
||||
if self.notification.type_of == 'system_message'
|
||||
send_email_notification(self.user, self.notification)
|
||||
elsif self.user.assignments_notification_email ||
|
||||
self.user.recent_notification_email
|
||||
send_email_notification(self.user, self.notification)
|
||||
if notification.type_of == 'system_message'
|
||||
send_email_notification(user, notification)
|
||||
elsif user.assignments_notification_email ||
|
||||
user.recent_notification_email
|
||||
send_email_notification(user, notification)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue