X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/cf1dcfb8715822f7ac5fe4fce067197dd84bad54..c7d692a3f09d8116cc52591f8852c4e0d6e4ab3c:/services/api/app/models/user.rb diff --git a/services/api/app/models/user.rb b/services/api/app/models/user.rb index 989a975924..fc5ae0a49d 100644 --- a/services/api/app/models/user.rb +++ b/services/api/app/models/user.rb @@ -580,7 +580,7 @@ class User < ArvadosModel if self.prefs_changed? if self.prefs_was.andand.empty? || !self.prefs_was.andand['profile'] profile_notification_address = Rails.configuration.Users.UserProfileNotificationAddress - ProfileNotifier.profile_created(self, profile_notification_address).deliver_now if profile_notification_address + ProfileNotifier.profile_created(self, profile_notification_address).deliver_now if profile_notification_address and !profile_notification_address.empty? end end end