remove ability for notifying nonprofits about the events they created
This commit is contained in:
parent
893bfd38b3
commit
f986614613
1 changed files with 0 additions and 1 deletions
|
@ -90,7 +90,6 @@ class Event < ActiveRecord::Base
|
||||||
user = self.profile.user
|
user = self.profile.user
|
||||||
Role.create(name: :event_editor, user_id: user.id, host: self)
|
Role.create(name: :event_editor, user_id: user.id, host: self)
|
||||||
EventMailer.delay.creation_followup(self)
|
EventMailer.delay.creation_followup(self)
|
||||||
NonprofitAdminMailer.delay.supporter_fundraiser(self) unless QueryRoles.is_nonprofit_user?(user.id, self.nonprofit_id)
|
|
||||||
self
|
self
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue